Hello,
Awhile back Bruce had an article about a simple remote control, here's the link:
http://www.picbasic.co.uk/forum/showthread.php?t=12554
I do not understand ASM that why I purchase PBP, but within the example it appears to timeout if no serial data is received in a certain amount of time. However with the RXM-418-LR series the output is always noisy with 1's and 0's as everyone knows unless a squelch circuit is used. Of course then range is compromised.
My question is how can I modify the ASM code to timeout on RA.0 (PortA.0, my serin port on a 16F628A) but not clearing any other port, or shall I say outputs?
Also, I am using an external 4MHZ oscillator, how can I change OSCCON = %01100000 ' Internal 4MHz select, to be external?
I see the area that say "clrf GPIO ; Clear outputs on button release (or timeout)"
which looking over the 16F628A datasheet I could go :
"clrf PORTA ; Clear outputs on button release (or timeout)"
"clrf PORTB ; Clear outputs on button release (or timeout)"
but all I am trying to accomplish is to jump away from receiving junk if
By the way my TRISA = %00000001 TRISB= %00000000
Thanks