This video explains how to Toggle GPIO ane read from GPIO of Tinker Board with Python script
Setup the OS and install necesary python dev libraries as shown below
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python-smbus python-dev
git clone http://github.com/TinkerBoard/gpio_lib_python --depth 1 GPIO_API_for_Python
cd GPIO_API_for_Python/
sudo python setup.py install
source code can be downloaded at
http://fumacrom.com/1rwFy
No comments:
Post a Comment