![]() ![]() 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. 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? Available from Farnell, part number 178302) Source Code (supports 12F629, 12F675, 12F683 ) Hex (right-click Save As) for 12F675 / 12F629. ![]() 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. Table 7.4 PIC12F629 and 12F675 12F629 12F675 Clock: Maximum Frequency of Operation (MHz) 20 20 Memory: Flash Program Memory 1024 1024 Data Memory (SRAM. #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 |