We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:u3_enhancement_ioport [2015/02/03 11:57]
john1117 [Enhancement of IO-Port#1 and IO-Port #2]
en:u3_enhancement_ioport [2015/02/03 11:57] (current)
john1117 [Enhancement of IO-Port#1 and IO-Port #2]
Line 1: Line 1:
 +====== Enhancement of IO-Port#1 and IO-Port #2 ======
 +The **ODROID-U3** provides two expansion sockets.\\
  
 +{{:​en:​u3:​u3ioport.png?​500|}}
 +
 +**Easy to use GPIOs**\\
 +First, you refer to below link.\\
 +You check Export number that you want to use GPIO.\\
 +[[u3_hardware&#​expansion_connectors | 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 =====
 +  * [[u3_ioport_i2c | I2C interface using the GPIO pins]]
 +===== SPI =====
 +  * [[u3_ioport_spi | SPI interface using the IO-Port #2]]
 +===== UART =====
 +  * [[u3_ioport_uart | UART interface using the IO-Port #1]]
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