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