If you mean pin modes, than I suggest to set all required pin modes in onInit()
@MaBe 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.
If you mean pin modes, than I suggest to set all required pin modes in onInit()