Read 2 or more pins as binary bits
Posted: Mon Jun 04, 2018 5:29 am
Is there a simple was to combine 2 or more pins together as a virtual port and read as binary bits ?
I am using a PIC micro to do some things outside of micropython and one of the things it will do is to output a 2 bit value (0 to 3) which I would like to read in micropython.
I am using a PIC micro to do some things outside of micropython and one of the things it will do is to output a 2 bit value (0 to 3) which I would like to read in micropython.