GPIO控制输出模式失败
本帖最后由 hotlipy 于 2023-1-2 17:09 编辑控制GPIO104,输出模式失败是怎么回事?
root# # echo out>/sys/class/gpio/gpio104/direction
bash: can't create /sys/class/gpio/gpio104/direction: non'nexistent directoryt create /sys/class/gpio/gpio104/direction: nonex# istsh: can't create /sys/class/gpio/gpio104/direction: nonexist
检查下是否echo 104 > /sys/class/gpio/export导出104成功了,可以看一下/sys/class/gpio/下是否有gpio104文件夹。
页:
[1]