

I'm not sure what is standard name of 12F629. If you want analogue inputs, the chip to use is the PIC12F675, None of these chip has a low-voltage programming feature. The standard name of 12F629 different from 16F.

The standard names are PIN_A0 to PIN_A5 (for current compilers).

Your definitions need to be added if you are using your own names. How to use 12F629 with CCS ?Įrror 12 "main.c" Line 8(15,18): Undefined identifier GP2Įrror 12 "main.c" Line 11(18,21): Undefined identifier GP0Įrror 12 "main.c" Line 13(25,28): Undefined identifier GP2Įrror 12 "main.c" Line 15(24,27): Undefined identifier GP2 Note also that you have to pull GP2 low before and after you pull it high, or it'll just stay high forever. This is the 'example' program with fuses and clock, to give 5 general purpose I/O lines, and one input only line on GP3. Output_low(GP2) //you needto lower the line again #FUSES NOWDT, INTRC_IO, NOMCLR, NOBROWNOUT Programming it depends on what programmer you have?. The only PIC's with 5 I/O pins or more, are the 8 pin PIC's like the 629, so stick with what you have. These are what define which pins you can use. What the number of microcontroller PIC suitable for me ? How to program PIC 12F629 ? I want to use microcontroller for 5 PIN only. Please do not post bug reports on this forum. CCS :: View topic - How to program PIC 12F629 ?įAQ Forum Help Official CCS Support Search Register Profile Log in to check your private messages Log inĬCS does not monitor this forum on a regular basis.
