I’m trying to use the at+get_config=device:gpio:X to read a GPIO pin.
I’m assuming that the command will initialize the GPIO as input by default. Cold you please confirm ?
What’s the default for the GPIO pins ? Open-drain/pull-up/pull-down ? I’d think open-drain as multiple readings on the same pin give random 0/1 results.
Another issue is that I can’t find a mapping between the parameter of the AT command and the GPIO pin number as described on the breakout board.
The only one that seemed to work was at+get_config=device:gpio:23 that was reading PB14, PIN 11 on the diagram.