We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:c_tinkering [2017/02/28 19:46]
odroid [C example (With WiringPi)]
en:c_tinkering [2017/03/02 09:55] (current)
brian.kim [Python example]
Line 56: Line 56:
 **Prerequisites**:​ You must have //​**python-dev**//​ and //​**python-setuptools**//​ installed If you manually rebuild the bindings with swig-python wiringpi.i **Prerequisites**:​ You must have //​**python-dev**//​ and //​**python-setuptools**//​ installed If you manually rebuild the bindings with swig-python wiringpi.i
  
-  sudo apt-get install python-dev python-setuptools+  sudo apt-get install python-dev python-setuptools ​swig3.0
   ​   ​
 1. Get/setup WiringPi 2 for Python repository 1. Get/setup WiringPi 2 for Python repository
Line 68: Line 68:
  
 2. Build & install 2. Build & install
-  ​sudo python setup.py install+<​code>​ 
 +swig3.0 -python -threads wiringpi.i 
 +sudo python setup.py install 
 +</​code>​ 
 +Or 
 +<​code>​ 
 +./​build.sh 
 +</​code>​
  
 3. Get/Run the example source code 3. Get/Run the example source code
en/c_tinkering.txt · Last modified: 2017/03/02 09:55 by brian.kim
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0