Yes, unless you use pinMode first, Espruino sets the pin mode automatically. It's good you checked though, the Pi's GPIO is more delicate than the STM32 chips that are on the Espruino board :)
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.
Great - glad you got it sorted!
Yes, unless you use
pinMode
first, Espruino sets the pin mode automatically. It's good you checked though, the Pi's GPIO is more delicate than the STM32 chips that are on the Espruino board :)