Hello,
while sending data from pic to pic (16F628A) through an rf link,Linx rxm-418-lc modules, all but one thing is working good. I have also done a hard wired connection from pic to pic with the same problem. I am using the checksum that Bruce recommended and I am using manchester. I am making an output on portb come on with the button pressed and with the button on the tx released it goes off. However, frequently an output stays on. Press the button again and it will clear. This is the clip from my program:
IF mydata1=%01011001 THEN PAUSE 10
IF mydata1=%01011001 THEN
HIGH 1
ELSE
LOW 1
ENDIF
goto loop
I added a PAUSE 50 after LOW 1 but no change.
When I go back to the main loop I've added mydata1=%00000000 before going to the SERIN to make sure that the previously received mydata1 is clear instead of using CLEAR although I've tried that to.
Does anyone have any suggestions?
By the way, I have checked the tx side to make sure the button was closed, even listened to the datastream on my service monitor.
Bookmarks