• Hi,
    Just tried to verify the state of a GPIO (D30):

    >pinMode(D30,'output')
    =undefined
    >getPinMode(D30)
    ="output"
    >digitalRead(D30)
    =0
    >digitalWrite(D30,1)
    =undefined
    >digitalRead(D30)
    =0
    >getPinMode(D30)
    ="output"
    >digitalWrite(D30,0)
    =undefined
    >digitalRead(D30)
    =0
    >digitalWrite(D30,1)
    =undefined
    >digitalRead(D30)
    =0
    >
    

    I probed the pin, it actually goes high and low according to digitalWrite. Anyone knows why the state cannot be read by Espruino?

About