Pull-up resistor problem on PIC18F45K80

General discussion on mikroBasic PRO for PIC.
Post Reply
Author
Message
arvinfx
Posts: 115
Joined: 22 Feb 2010 18:44

Pull-up resistor problem on PIC18F45K80

#1 Post by arvinfx » 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:

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    
                                                                   

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Pull-up resistor problem on PIC18F45K80

#2 Post by filip » 31 May 2023 07:31

Hi,

Have you been able to sort out this issue ?

Regards,
Filip.

Post Reply

Return to “mikroBasic PRO for PIC General”