I can't remember if these are enabled by default or not (looks like not) -- could someone please help, don't have time to google it.
Using 16C72 port B
If not, what do I put in the code header?
THANKS !
I can't remember if these are enabled by default or not (looks like not) -- could someone please help, don't have time to google it.
Using 16C72 port B
If not, what do I put in the code header?
THANKS !
OPTION_REG register
The OPTION_REG register is a readable and writable
register, which contains various control bits to configure
the TMR0 prescaler/WDT postscaler (single assignable
register known as the prescaler), the External INT
Interrupt, TMR0 and the weak pull-ups on PORTB.
bit 7:
RBPU: PORTB Pull-up Enable bit
1=PORTB pull-ups are disabled
0= PORTB pull-ups are enabled for all PORTB inputs
Page 12 in the datasheet
Shawn
I know about the OPTION reg
OPTION_REG.7 = 0 ?
Enabled?
Sort of pressed for time today and having a hard time deciphering the datasheet
What bits are the other ports A and C? THANKS !
could it be?
only portb has the internal pullups?
Only port B has internal pull ups
OPTION_REG.7 = 0
should be what you need to turn on the internal pull ups on port b
Shawn
Bookmarks