I updated firmware to 2v18.1_esp32 today.
Unfortunately no change swapping those calls around. In fact I can remove pinMode() altogether for the extra button and it still works.
@chris.willing started
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.
I updated firmware to 2v18.1_esp32 today.
Unfortunately no change swapping those calls around. In fact I can remove pinMode() altogether for the extra button and it still works.