Nice - thanks! Do you think the interrupt handling is something that could be added to the existing MCP23017 module?
I'm wondering whether I could modify setWatch such that if it was given an object with a .watch method, it would call that - then you could transparently use pins on an IO expander?
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.
Nice - thanks! Do you think the interrupt handling is something that could be added to the existing MCP23017 module?
I'm wondering whether I could modify
setWatch
such that if it was given an object with a.watch
method, it would call that - then you could transparently use pins on an IO expander?