Thanks, I was just using the default pin mode and assuming it was set to digital like the classic Espruino seems to be. I'll try setting it explicitly and see what happens. (I was not trying to use analog mode at the same time by the way, I just had to resort to that later).
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, I was just using the default pin mode and assuming it was set to digital like the classic Espruino seems to be. I'll try setting it explicitly and see what happens. (I was not trying to use analog mode at the same time by the way, I just had to resort to that later).