hotlipy 发表于 2023-1-2 17:06:36

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


forqs 发表于 2023-1-3 16:17:58

检查下是否echo 104 > /sys/class/gpio/export导出104成功了,可以看一下/sys/class/gpio/下是否有gpio104文件夹。
页: [1]
查看完整版本: GPIO控制输出模式失败