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:xu3_enhancement_gpio12 [2015/08/20 15:56]
charles.park
en:xu3_enhancement_gpio12 [2015/08/20 15:57] (current)
charles.park
Line 1: Line 1:
 +====== Basics of 12pin Port ======
 +The **ODROID-XU4** provides 12Pin GPIOs.
 +
 +{{http://​dn.odroid.com/​wiki_image/​xu4/​xu4_con11.jpg}}
 +
 +**Easy to use GPIOs**\\
 +First, you refer to below link.\\
 +You check Export number that you want to use GPIO.\\
 +[[en:​xu4_hardware_gpio | Pin description]]
 +
 +Create a GPIO file access.\\
 +You can access GPIOs using sysfs interface.
 +  echo 34 > /​sys/​class/​gpio/​export
 +Configure the pin direction (in/out)
 +  echo in > /​sys/​class/​gpio/​gpio34/​direction
 +Read a value
 +  cat /​sys/​class/​gpio/​gpio34/​value
 +
  
en/xu3_enhancement_gpio12.txt ยท Last modified: 2015/08/20 15:57 by charles.park
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0