I have tried to use the “count” command in some code but when I try to simulate it, the count did not work as expected. It still does not simulate even with the bare bones code directly copied from the manual. The version is 5.2.7
main:
count 1, 5000, w1 ‘ count pulses in 5 seconds
debug w1 ‘ display value
goto main ‘ else loop back to start
I am manually toggling input 1 on a 08M picaxe and expect w1 to increment but nothing happens.
What am I doing wrong?
main:
count 1, 5000, w1 ‘ count pulses in 5 seconds
debug w1 ‘ display value
goto main ‘ else loop back to start
I am manually toggling input 1 on a 08M picaxe and expect w1 to increment but nothing happens.
What am I doing wrong?