Andres Rodriguez
New Member
Using the following code and the attached circuit, I am trying to read the pulses from two different channels on the JR 2.4 GHz receiver. I expected the values to vary from 75 to 225 usec. But I am getting values in the range of 2000 to 2250
Code:
Pulsin 2,1,W0
Sertxd (13,10,"DAY NIGHT ",#W0,13,10)
Pulsin 1,1,W2
Sertxd ("SEARCH ",#W2,13,10)
If W0>200 then goto Night
If W0>150 then goto Day
Attachments
-
27.8 KB Views: 26