count will not simulate

Tinker123

New Member
I am using a 08M picaxe, trying to simulate the count command using a mouse click on an input pin for the count input. It does not simulate. Tried using other chips but no luck. Any help would be appriciated.

main:

count 1,5000, w2

sertxd (#w2)

goto main
 

Chavaquiah

Senior Member
Hi and welcome to the Picaxe Forum.

Count is mostly used with very short pulses and those would be very difficult to simulate by clicking on a pin. Instead, use the "Generic" box on the simulator. You can type in that box the value you want count to return.


EDIT: Oops, ecletic was way faster and the discussion he links to is more helpful... :)
 
Top