We're no longer updating This wiki!!

This is an old revision of the document!


Enhancement of 40pin GPIO

The ODROID-XU3 provides 30Pin GPIOs.

dn.odroid.com_homebackup_201310211158488480.jpg

You need to enter into super-user mode first to run below commands !!

 sudo su 




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

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

echo 29 > /sys/class/gpio/export

Configure the pin direction (in/out)

echo in > /sys/class/gpio/gpio29/direction

Read a value

cat /sys/class/gpio/gpio29/value

dn.odroid.com_homebackup_201310211155385344.jpg

I2C

I2C

PWM

PWM

UART

1-Wire

ADC

ADC

en/c1_enhancement_gpio40.1457423964.txt.gz · Last modified: 2016/03/08 16:29 by charles.park
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0