Hi Maik, yes that is expected. Not like Arduino but I think it is more obvious for beginners.
It you want to 'lock' the pin mode, use pinMode and then read/set/reset/write won't change the pin state
© Espruino, powered by microcosm.
Report a problem