Point noted, Thanks. I will remove "low..." statements from the code.
Alain: Do you mean problem is with RF Link? as they do work fine as per my post above.
My config Fuses are set as follows:
WDT_ON
PWRTC_ON
MCLR_OFF
BOD_ON
IESO_OFF
INT_OSC-NOCLKOUT
and other configuration is:
intcon=0
cmcon0=7
TRISIO=%001100
GPIO=0
I have checked that with my toggling switch, once you go out of range receiver PIC does not respond as soon as you walk within range it starts working fine.
BUT, with this momentary design, after the PIC latches I checked the voltage on Rx pin and it is fluctuating as other signals are in the air as well. I also found out that once PIC latches there could be one sure shot way of making it work again, which is power reset and the other not so sure shot way is press the second button on the transmitter which sends a different code. BUT again this hangs the PIC as soon as you go few meters away.





Bookmarks