This shows you the differences between two versions of the page.
tutorials:common:using_python_program_control_gpios [2014/07/12 11:54] allen |
tutorials:common:using_python_program_control_gpios [2014/07/15 10:35] (current) allen |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Using Python Program Control Gpios ====== | + | ====== Using Python Program Control GPIOs ====== |
<WRAP noprint><WRAP left box 60%> | <WRAP noprint><WRAP left box 60%> | ||
Line 11: | Line 11: | ||
- | Here is the guide to show that how to use Python program Control GPIOs .More others way to control can refer to http://docs.cubieboard.org/tutorials/common/gpio_on_lubuntu | + | Here is the guide to show that how to use python program control GPIOs .More others way to control can refer to http://docs.cubieboard.org/tutorials/common/gpio_on_lubuntu |
Line 18: | Line 18: | ||
$sudo apt-get update | $sudo apt-get update | ||
$sudo apt-get install python-dev | $sudo apt-get install python-dev | ||
- | $wget http://dl.linux-sunxi.org/users/tom/pySUNXI-0.1.12.tar.gz | + | $wget http://dl.cubieboard.org/software/libs/pySUNXI-0.1.12.tar.gz |
$tar zxf pySUNXI-0.1.12.tar.gz | $tar zxf pySUNXI-0.1.12.tar.gz | ||
$sudo python setup.py install | $sudo python setup.py install |