18F252 Internal pull-up
Posted: Tue Oct 07, 2014 7:35 am
I need to activate for the 18F252 internal pull-up and I cant handle...
I put a C code icon with the "intcon2 = 0;" but it activate INT1 at the RB!.
How can I clear only the RBPU (bit7) of the INTCON2 register?
I tried with "clear_bit(intcon2 , 7);" to but the result was the same: All port B is "up", but RB1 is low...
I put a C code icon with the "intcon2 = 0;" but it activate INT1 at the RB!.
How can I clear only the RBPU (bit7) of the INTCON2 register?
I tried with "clear_bit(intcon2 , 7);" to but the result was the same: All port B is "up", but RB1 is low...