segunda-feira, abril 25, 2016

raspberry-gpio-python download

raspberry-gpio-python download | SourceForge.net


Good video with GPIO intro
https://www.youtube.com/watch?v=OQyntQLazMU

Examples
Find the scripts here:
wget -O script1.py http://lpaste.net/raw/117593
wget -O script2.py http://lpaste.net/raw/117594
wget -O script3.py http://lpaste.net/raw/117595
wget -O script4.py http://lpaste.net/raw/117596
wget -O script5.py http://lpaste.net/raw/117597
wget -O script5a.py http://lpaste.net/raw/117598

To add PHP:
Raspberry Pi packages: http://lpaste.net/raw/92403
index.php: http://lpaste.net/raw/117599



Python raspberrypi gpio module



https://learn.sparkfun.com/tutorials/raspberry-gpio/python-rpigpio-api


yum install gcc -y

yum install python-devel

wget https://bootstrap.pypa.io/get-pip.py

 python get-pip.py

 pip install RPi.GPIO


Nenhum comentário: