it's working fine but I added leader = 0 to clear it out (duh)
should have thought of that.
I need to put the breadboard in the sunshine and see if it stays stable.
if not, I'll just add his decoding the bytes data
kind of nice using any button on the remote
Main:
PULSIN PORTB.0,0,LEADER ' leader pulse is ~9mS low-going
IF Leader < 850 THEN
LOW PORTB.2
LEADER = 0
GOTO Main
ENDIF
and yes, could have used else but so simple just wanted to see if functions.
Bookmarks