Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
en:c1_tinkering [2016/02/25 15:27] brian.kim [Linux] |
en:c1_tinkering [2016/02/25 15:28] brian.kim [Linux] |
||
---|---|---|---|
Line 190: | Line 190: | ||
**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 | ||
- | 0. Get/setup WiringPi library (//If you already installed WiringPi library, skip this step.//) | ||
- | <code> | ||
- | # git clone https://github.com/hardkernel/wiringPi.git | ||
- | # cd wiringPi | ||
- | # sudo ./build | ||
- | </code> | ||
1. Get/setup WiringPi 2 for Python repository | 1. Get/setup WiringPi 2 for Python repository | ||
<code> | <code> | ||
# git clone https://github.com/hardkernel/WiringPi2-Python.git | # git clone https://github.com/hardkernel/WiringPi2-Python.git | ||
# cd WiringPi2-Python | # cd WiringPi2-Python | ||
+ | # git submodule init | ||
+ | # git submodule update | ||
</code> | </code> | ||