We're no longer updating This wiki!!

Enhancement of IO-Port#1 and IO-Port #2

The ODROID-U3 provides two expansion sockets.

Easy to use GPIOs
First, you refer to below link.
You check Export number that you want to use GPIO.
Pins description.

Create a GPIO file access.
You can access GPIOs using sysfs interface.

echo 199 > /sys/class/gpio/export

Configure the pin direction (in/out)

echo out > /sys/class/gpio/gpio199/direction

Write a value (1/0)

echo 1 > /sys/class/gpio/gpio199/value

GPIO-I2C

SPI

UART

en/u3_enhancement_ioport.txt · Last modified: 2015/02/03 11:57 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0