6.3.1.2 Enabling/Disabling Pull-up/Pull-down for a GPIO Pin

Use the following command to enable/disable Pull-up/Pull-down for a GPIO.

AT+DIGPU=<Pin>,<Pull>
  • Pin: Replace this with the number of the pin that needs to be configured.
  • Pull: Set this with ‘0’ to disable and ‘1’ to enable.