You are reading a single comment by @user109783 and its replies. Click here to read the full conversation.
  • oh, and to topic title name - input mode is not floating, input mode (at least on nrf52) is sensing the input and draws some power, to save battery it should be in disconnected mode if not used, then it is really floating. On powerup it is in such mode if not used.

  • I read a statement about stm32F4, it said that this kind of chip can be individually configured by software in several modes, include input floating. However, the Espruion system did not have input floating, and initially I coded Pin.getInfo(), it shown that its' mode was analog.
    Even though I reset(true) the system, its' default mode is still analog. I have no idea how to use input floating mode as default, or I have no idea where its'mode was changed from input floating to analog.

  • its' default mode is still analog. I have no idea how to use input floating mode as default

    yes so that's fine, as I tried to explain in post #4, this is what espruino shows when pin is floating (i.e. is not set to input nor output)

About

Avatar for user109783 @user109783 started