Are those GPIO0/GPIO2 or NodeMCU's D0/D2 pins?
I can never keep straight which one you get when you call the pins "D0" - I just call them by the number and there's no confusion.
GPIO2 is the TX for the second uart, and I think by default debug output is printed to there. Did you turn off the debug output?
@DrAzzy 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.
Are those GPIO0/GPIO2 or NodeMCU's D0/D2 pins?
I can never keep straight which one you get when you call the pins "D0" - I just call them by the number and there's no confusion.
GPIO2 is the TX for the second uart, and I think by default debug output is printed to there. Did you turn off the debug output?