
Vantron
|
Embedded in your success, Embedded in your better life
World-leading provider of embedded/IoT products and solutions
IBOX3588 | User Manual
29
4.3
GPIO
The Device implements four GPIOs. You can set the high/low level of the GPIO pins and use
a voltmeter to check if the settings are valid.
You can check the status of the GPIOs:
# cat /sys/kernel/debug/gpio
The following is a summary of the commands for setting the high/low level of the GPIO pins.
GPIOs
GPIO5
High level
gpioset gpiochip8 4=1
Low level
gpioset gpiochip8 4=0
GPIO6
High level
gpioset gpiochip8 5=1
Low level
gpioset gpiochip8 5=0
GPIO7
High level
gpioset gpiochip8 6=1
Low level
gpioset gpiochip8 6=0
GPIO8
High level
gpioset gpiochip8 7=1
Low level
gpioset gpiochip8 7=0