On the Arduino, the solution is to issue the digitalWrite(n,LOW) instruction BEFORE you define the pin as an Output with the pinMode instruction.
Have you tried this on your NodeMCU?
Pete.
On the Arduino, the solution is to issue the digitalWrite(n,LOW) instruction BEFORE you define the pin as an Output with the pinMode instruction.
Have you tried this on your NodeMCU?
Pete.