The code below cannot be compiled: [0018ca] intermediate var not assigned an expression : clk.
Does anybody know how to make this work?
Name SimpleCounter;
Device g22v10;
PIN 1 = CLK; // Clock input
PIN 2 = RST; // Reset input
PIN 23 = Q0; // Output bit 0
Q0.D = !Q0 & !RST; // Toggle...