It happens when the pin is in outputmode.
output
>digitalRead(D30) =0 >digitalRead(D30) =1 >pinMode(D30,'output') =undefined >digitalRead(D30) =0 >digitalWrite(D30,1) =undefined >digitalRead(D30) =0
@Jean-Philippe_Rey 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.
It happens when the pin is in
output
mode.