HII have a problem reading port B always returns 0000PORTB is configured asBit 0 and 1 PGD1 PGC1Bit 2 to 13 inputs pulled high to 3.3v by 10k resistorsBit 14 15 outputs led1 led2While i can write to the LATB register and switch off and on the leds Reading..
↧