Hi,
I've tried many variations of the above code, but nothing switches the RX ON/OFF yet.
If I use this: and keep resetting the RX the YLED switches ON or OFF 50% of the time, and the RLED is always ON.
C.
TX:--------------------------------------------------------------------------------------
For x = 0 To 1000
rled = 0
yled = 1
Hserout "0", CrLf
Next x
For x = 0 To 1000
rled = 1
yled = 0
Hserout "1", CrLf
Next x
RX:--------------------------------------------------------------------------------
Hserget i
If i = 0 Then '< --- -- 48 is number 0
Hserout "Number: ", i, CrLf
rled = 1
WaitMs 500
Endif
If i = 106 Then '= 106 Then '< --- -- 49 is number 1
Hserout "Number: ", i, CrLf
yled = 1
WaitMs 500
Endif