Incredible, that was it... I moved pinMode(B6, 'af_opendrain') into onInit.
I have encountered this before several times where initialization or configuration of things had to be moved into onInit for things to work properly.
Thanks again @Gordon
@Picochu 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.
Incredible, that was it... I moved pinMode(B6, 'af_opendrain') into onInit.
I have encountered this before several times where initialization or configuration of things had to be moved into onInit for things to work properly.
Thanks again @Gordon