Raspberry PI LINKS
These are external links:
FAQs about Raspberry PI
Raspberry PI Tutorials
Raspberry PI Schematics
Details about GPIOs
26 pin connector and how to use GPIOs -- Note: configuring i2c or the uart could break some tarpn functionality.
Mechanical dimensions of PI
Check if wiringPi subdirectory is off of /user/pi home.
If not, then do this
git clone git://git.drogon.net/wiringPi
cd wiringPi
./build
If so then do this:
cd wiringPi
git pull origin
cd wiringPi
./build
To sysinfo, add this line:
gpio -v | grep version
dec 15, 2014 BASH script for GPIO output
gpio mode 0 out
gpio write 0 1
gpio write 0 0
https://projects.drogon.net/raspberry-pi/gpio-examples/tux-crossing/gpio-examples-1-a-single-led/
Dec 15, 2014 BASH script which reads GPIO and does stuff.
setup ()
{
echo Setup
gpio mode 2 in ;
}
setup
while :
do
result=`gpio read 2`
if [ $result -eq 0 ]; then
echo BUTTONPRESSED /dev/null
fi
sleep 0.1
done