Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
puredata:gpio [2020/02/13 17:22] admin |
puredata:gpio [2020/03/06 19:27] admin |
||
---|---|---|---|
Line 4: | Line 4: | ||
{{: | {{: | ||
+ | |||
+ | [[https:// | ||
[[http:// | [[http:// | ||
Line 30: | Line 32: | ||
=== Install the WiringPi for PD === | === Install the WiringPi for PD === | ||
+ | |||
Download: {{ : | Download: {{ : | ||
+ | $ wget www.dernulleffekt.de/ | ||
+ | $ unzip pd-wiringpi.zip | ||
+ | $ cd pd-wiringpi/ | ||
+ | $ cp -R wiringPi_gpio/ | ||
+ | $ cp -R wiringPi_mcp3008/ | ||
+ | |||
Unzip and copy the wiringPi_gpio and the wiringPi_mcp3008 folder in the PD external folder.\\ | Unzip and copy the wiringPi_gpio and the wiringPi_mcp3008 folder in the PD external folder.\\ | ||
- | /home/pi/Documents/ | + | /home/pi/Pd/externals |
- | In Pure Data -> Preferences -> Path set the path to these two folders.\\ | + | One has to run Wiring PD with administration rights: |
+ | $ sudo pd | ||
+ | In Pure Data -> Preferences -> Path set the path to the two external | ||
{{: | {{: | ||
+ | === Or install pdwiringPi ==== | ||
+ | |||
+ | An other wiringPi external is that one [[https:// | ||
+ | $ wget https:// | ||
+ | $ unzip master.zip | ||
+ | $ cd pdwiringPi-master | ||
+ | $ make | ||
+ | There should be a new folder called " | ||
+ | |||
+ | ---- | ||
=== Pin Configuration === | === Pin Configuration === | ||
The Wiring library has its own [[http:// | The Wiring library has its own [[http:// | ||
Line 87: | Line 108: | ||
==== Links ==== | ==== Links ==== | ||
+ | PD:\\ | ||
[[https:// | [[https:// | ||
+ | |||
+ | Wiring:\\ | ||
[[http:// | [[http:// | ||
+ | [[https:// | ||
[[https:// | [[https:// | ||
[[http:// | [[http:// | ||
+ | |||
+ | MCP3008:\\ | ||
[[https:// | [[https:// | ||
+ | |||
+ | GPIO:\\ | ||
[[https:// | [[https:// | ||