Pull-up resistor problem on PIC18F45K80
Posted: 10 May 2023 21:21
Hi
I am trying to set all PORTB Pull-up resistors on in a PIC18F45K80 but RB0 , RB1 and RB4 denied to active pull-up resistor.
My register settings is:
I am trying to set all PORTB Pull-up resistors on in a PIC18F45K80 but RB0 , RB1 and RB4 denied to active pull-up resistor.
My register settings is:
Code: Select all
PMD2=%00001111
TRISA=0
TRISB=255 '%00000000
TRISC=0
TRISD=0
TRISE=%00000000
INTCON=%11010000
INTCON2=%00000000
RCON.IPEN=0
ANCON1= 0
WPUB=255