
Orange Pi 2G-IOT User Manual
Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
www.xunlong.tv
23
ii Use "gpio export pin mode" to explore wiringPi GPIO to the directory of
/sys/class/gpio and set the GPIO mode into mode.
According to the above WiringPi pin mapping, hardware pin number 37 is corresponding
to WiringPi pin number GPIO 25, explore the number 25 and set it into output mode.
iii Use "gpio unexport pin" to cancel explore pin to /sys/class/gpio. For example: