A friend gave me a remote control, I used the following line to receive data into it, which works. The receiver side is using a 16F877 @ 20Mhz with a 38 Khz module.
MAIN:
Serin2 portb.0,813,100,MAIN,[key] ' Receive data and assign to key
SEROUT lcd,T9600,[254,128,key] ' Display key value on serial LCD
pause 10
GOTO MAIN
But now I want to make my own remote control using a 16F628 @ 4Mhz. Ive tried using this line amongst other combinations....
Serout2 portb.3,813,["A"] ' Send the letter A
But nothing seems to work. Ive also attached a schematic of my transmitter. Ive read other posts and visited rentron for examples but Im not doing something right. Any pointers or advice is appreciated
Juan
Bookmarks