(8 pin version PIC12F67)
The PIC16F676 microcontroller in a 14-pin DIP package.
1K of code space (1K x 14bit), 12 I/O pins, 128 bytes of EEPROM, internal clock oscillator,
10 bit on-board analogue-to-digital converter
2 x16-bit timer/counter with prescaler (Timer 1 can have a gate input as well), (Timer 0 or External Interupt)
8 level hardware stack
Programming
INITIALIZING PORTA
bcf STATUS,RP0 ;Bank 0
clrf PORTA ;Init PORTA
movlw 05h ;Set RA<2:0> to
movwf CMCON ;digital I/O
bsf STATUS,RP0 ;Bank 1
clrf ANSEL ;digital I/O
movlw 0Ch ;Set RA<3:2> as inputs
movwf TRISA ;and set RA<5:4,1:0>
;as outputs
bcf STATUS,RP0 ;Bank 0