User Tools

Site Tools


Sidebar

Launch of Linino.org

wiki:gpio

Arduino YUN GPIO configuration

* To setup the GPIO on the YUN please follow the following example:

//SS 
echo 26 > /sys/class/gpio/export; 
echo out > /sys/class/gpio/gpio26/direction; 
// SS high
echo 1 > /sys/class/gpio/gpio26/value
// SS low
echo 0 > /sys/class/gpio/gpio26/value
// unexport
echo 26 > /sys/class/gpio/unexport
GPIO # Function Note
gpio18 Reset 32u4
gpio21 Level shifter SPI
gpio22 Level shifter handshake
gpio23 Level shifter UART
gpio26 Level SPI - SS
gpio27 Level SPI - MOSI
gpio8 Level SPI - MISO
gpio11 Level SPI - SCK
/var/www/wiki.linino.org/data/pages/wiki/gpio.txt · Last modified: 2013/10/18 15:52 by administrator

2014 © dog hunter llc and the Linino Community. Linino.org is a dog hunter sponsored community project. Credits