You are reading a single comment by @user109783 and its replies. Click here to read the full conversation.
  • The pins should stay floating by default on boot. It would only be if you did save() when a pin state was already set up that Espruino would remember what the pin was set to

  • What if the Pin stay floating by default on boot, use digitalRead(PIN), what result should I get?
    But I always got 0

About

Avatar for user109783 @user109783 started