Hi all. Help please. (I use Picaxe with my Meccano hobby).
I have a slotted optical switch connected to my CH1035A board 18m2 . the switch works fine.
What am I trying to do.
I am trying to count Revs , using one hole in a rotating disk ,and then do something with the
result.
I am struggling to put count and pulsin together . I have read Pulsin 2/160 & Count 2/50.
COUNT pin, period, wordvariable
pulsin C.3,1,w1 ; record the length of a pulse on C.3 into w1
Thanks Ernest
I have a slotted optical switch connected to my CH1035A board 18m2 . the switch works fine.
What am I trying to do.
I am trying to count Revs , using one hole in a rotating disk ,and then do something with the
result.
I am struggling to put count and pulsin together . I have read Pulsin 2/160 & Count 2/50.
COUNT pin, period, wordvariable
pulsin C.3,1,w1 ; record the length of a pulse on C.3 into w1
Thanks Ernest