ATIO is RP2040 firmware that lets you control IO with an AT command set.
Plug the device into a computer.
$ minicom -D /dev/ttyACM0 -b 115200
To build the RP2040 firmware, assuming you have pico-sdk installed:
$ mkdir build
$ cd build
$ cmake ..
$ make
To build and run a simulated version on Linux for debugging/testing:
$ make
$ ./atio
ATIO received commands can be terminated with CR, LF or CRLF.
ATIO transmitted messages are terminated with CRLF.
ATIO sends informational messages prefixed with "#".
When ATIO is initialized it will send "READY".
ATIO commands respond with "OK", "ERROR" or "+value".
> AT
< OK
> AT+RST
< ...
< READY
> AT+GPIODn=X
< OK
Example:
> AT+GPIOD5=1
< OK
> AT+GPIOPUn
< OK
> AT+GPIOPDn
< OK
> AT+GPIOPNn
< OK
> AT+GPIOn=1
< OK
> AT+GPIOn?
< +1
ATIO is released under the Lone Dynamics Open License.