I am using a 16f628A with the internal oscillator. I am trying you use this simple code with a wireless receiver "RWS-434". If you hold porta.2 low it will timeout every two seconds and my led will flash. If I hook up the receiver or hold Porta.2 high It will never time out the led stays on forever. Can anyone offer an easy cure for this? "Hardware or software"
CMCON = 7
VAR1 VAR WORD
VAR2 VAR WORD
VAR3 VAR WORD
OVER:
LOW PORTA.1 'LED
PAUSE 100
HIGH PORTA.1 'LED
SERIN2 PORTA.2,17197,2000,OVER,[wait(53),VAR1,VAR2,VAR3]
GOTO OVER
Bookmarks