If you do that, led-diode will blink, and your memorizing process is finished. Now you can release key on Ir-switch, and press key on your remote controller. It strangely worked by adding positive voltage first and negative second in to the circuit, any idea why? It even works by just grounding pin3! I think it needs something in the circuit. circuit board components Memorizing remote controller key is simple and you can do it following this procedure: press key on Ir-switch and led-diode will turn ON. I also removed all timing to lite GPO all time but still no luck: #include I measure voltage at LED sides, it is about 1 but incoming voltage is about 5.The circuit doesn't work, how could I fix it? I don't quite get timing in the code, any idea? I compile it with XC8 MPLAB X and I have transfer hex file to chip, then I connect pin num1 to positive voltage and pin number 8 to ground, then pin num7(GP0) to positive side of led and grounded other side of LED. #pragma config WDTE=OFF, BOREN=OFF, PWRTE=ON, MCLRE=OFF, FOSC=INTRCIO I am new to microchip but I build an circuit with PIC12F629 and wrote this program: #include
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |