Hello @ukaton and welcome to the world of Espruino! Over time, I believe you will find the shortened debug times with Espruino will far surpass that of Arduino development. Thank you for posting your code.
I'm not an ESP32 wiz, but the code appears to be attempting to read using an analog read on every pin.
Is it possible that the pins attempted to be read should be using digitalRead() ?
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.
Thr 2019.07.18
Hello @ukaton and welcome to the world of Espruino! Over time, I believe you will find the shortened debug times with Espruino will far surpass that of Arduino development. Thank you for posting your code.
I'm not an ESP32 wiz, but the code appears to be attempting to read using an analog read on every pin.
Is it possible that the pins attempted to be read should be using digitalRead() ?
It should be possible to determine either using the source:
Curiosity got the better of me, what is the GPIO config for ESP32?
This link may be needed also