Our website is under construction. Please stay tuned!
GPIO
gc
Clears GPIO pin.
Example:
dwm> gc
Usage: gc <pin>
dwm> gc 13
gpio13: 0
gg
Reads GPIO pin. Set the pin into input mode.
Example:
dwm> gg
Usage: gg <pin>
dwm> gg 13
gpio13: 0
gs
Sets GPIO as output and sets its value.
Example:
dwm> gs
Usage: gs <pin>
dwm> gs 13
gpio13: 1
gt
Toggles GPIO pin (must be output).
Example:
dwm> gt
Usage: gt <pin>
dwm> gt 13
gpio13: 0