Thanks - just updated the comments (I think I was numbering some starting from 0 and some starting from 1!).
it would be nice to have also an .ioRd() like the .ioWr()
I don't believe the expander can be read from at all? There is actually an internal variable in Espruino containing the state of everything on the expander that I guess could be exposed, but I think its use is pretty limited.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks - just updated the comments (I think I was numbering some starting from 0 and some starting from 1!).
I don't believe the expander can be read from at all? There is actually an internal variable in Espruino containing the state of everything on the expander that I guess could be exposed, but I think its use is pretty limited.