Please note that the Chinese and Japanese versions are currently being updated and are not yet complete. Stay tuned for the final versions!
GPIO
gc
清除 GPIO 引脚.
示例:
dwm> gc
Usage: gc <pin>
dwm> gc 13
gpio13: 0
gg
读取 GPIO 引脚. 将引脚设置为输入模式.
示例:
dwm> gg
Usage: gg <pin>
dwm> gg 13
gpio13: 0
gs
将 GPIO 设置为输出并设置其值.
示例:
dwm> gs
Usage: gs <pin>
dwm> gs 13
gpio13: 1
gt
切换 GPIO 引脚(必须为输出).
示例:
dwm> gt
Usage: gt <pin>
dwm> gt 13
gpio13: 0