Page 1 of 1

counting

Posted: Fri Jun 25, 2010 11:32 am
by stevel
Can someone help me out i want to count up to 9 (1001) but its counting up to 15 (1111) how do i make it count up to 9 and reset the count and start again

Re: counting

Posted: Fri Jun 25, 2010 1:23 pm
by medelec35
here you are modified your software to count to 9.

Re: counting

Posted: Fri Jun 25, 2010 1:27 pm
by Sean
You will need to add a decision icon into the program loop to detect the count reset condition and clear the count back to 0.

The program is currently counting up to 255 (maximum byte value), but only displaying the lower 4 bits.