Jay.slovak said:
striker2509 said:
If i configure 4 pins as an output and 4 pins as an input. and i need to use the 4 input pins. how can i read the 4 less significant bits in order to do something else?
Hope u help me.....thanks
Easy, just use MOVF PORTB,w instruction and then ANDLW b'00001111' to filter out the result...
ok, got it, and if i want to put it on port B, in the less significant bits, non-affecting the most significant bits, could i do the same???