adding a little note :
the command for ALLINPUTS is hex 0xFF which is 0b11111111 in binaries
I am quite sure all the 1 are the pins (pin0 being on the right). with 1 being input and 0 being output.
So 0b11111110 ( hex 0xFE) would probably be all inputs except pin 0 as output etc
and hex (0x0) is 0b00000000 and actually correspong to the value of ALLOUTPUTS in the other library ...
F
Best posts made by frexetat
-
RE: Extend I/O (EXT_IO) how to read inputs? (arduino)