How to read gpio pins from adb shell

(Bhaskar P) #1

Hi, I am using banana pi M2 Zero… I need to read the data from gpio pins… If i short Vcc 3.3v to gpio pin then i need to read value as HIGH… please send me logic to read gpio pin