I found out a website that teach how to program PIC 12F629 using assembly language. Could anyone help to verify whether the code is working. When I tried to assemble the code, it is successfully built but mplab assembler show some warnings as below:
Message[302] 629\TESTPLAY\TRANSMITTER.ASM 53 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] 629\TESTPLAY\TRANSMITTER.ASM 54 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] 629\TESTPLAY\TRANSMITTER.ASM 56 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] 629\TESTPLAY\TRANSMITTER.ASM 57 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] 629\TESTPLAY\TRANSMITTER.ASM 58 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] 629\TESTPLAY\TRANSMITTER.ASM 59 : Register in operand not in bank 0. Ensure that bank bits are correct.
Thanks for helping. Actually, I am going to use the RC5 modulation to transmit and receive infra red(IR) pulses for my infra red gate/fence/security perimeter. From my understanding for the code, the pulses are sent for once after we press the button. Any ways to change the code so that the IR transmitter can continuously transmit the same code(lets say 0b10100) when we press CH1 button shown in the schematic diagram . (0b10100 0b10100 0b10100......)
Could anyone help on modifying the codes of decoder part so that instead of switching an output ON and OFF, I would like to the output to be stable(1/0). I am using the transmitter and decoder part for my Infra Red fence project which will turn on the decoder output(LED) when the IR beam is being blocked. On normal condition where IR beam exist, the decoder output will be turned off(LED off).