To resolve the jshPinGetValue issue: it makes sense to read the pin when it's in open-drain mode without changing its mode and it works correctly on the esp8266, the issue I encountered was a different one.
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.
To resolve the jshPinGetValue issue: it makes sense to read the pin when it's in open-drain mode without changing its mode and it works correctly on the esp8266, the issue I encountered was a different one.