Hi Acetronics,
My current port configuration setup:
'*** PIC16F886 CONFIGURATION *************************
OSCCON = %01100000
ANSEL = %00000011
TRISA = %11111111
ANSELH = %00000000
TRISB = %00000000
TRISC = %11111111
So I should look at adding PORTx = 0 before the TRISx register to clear the port register?
Is this good programming practice (newbe question)?
I have pull-down resistors on the input but not on the outputs, so I can look at adding those.
Bookmarks