To show GPIO status: adb shell "cat /sys/devices/virtual/misc/mtgpio/pin" To change GPIO status: adb shell "echo \"-w=99:0 1 0 0 0 1 0\" >/sys/devices/virtual/misc/mtgpio/pin" 每行分别对应: IO编号: 模式, 输入上拉选择,输入值,输出值,输入上拉使能,方向,输入翻转 值的具体含义请参考: mt65xx_gpio.h
mt6735 android系统通过adb获取GPIO状态
于 2023-03-20 18:18:39 首次发布