Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

OF and Raspberry pi - Pin read/write?

$
0
0

yes i got it to work.

i followed this guide to get OF on to the PI2:
http://openframeworks.cc/setup/raspberrypi/Raspberry-Pi-Getting-Started.html

and followed this guide for the GPIO stuff on sparkfun (wiringPi):
https://learn.sparkfun.com/tutorials/raspberry-pi-2-starter-kit-hookup-guide?_ga=1.105652288.232595118.1417458993

here is my config.make file which has the paths to the right libraries and stuff:

i never used the make commands before. so, it took a while to work out how to compile the OF examples. Basically via the LXTerminal app in the Raspberry GUI environment (which is called x).
there use the cd to get to the right location, then use make.
in order to run OF apps that use GPIOs you need to use sudo make run.
you might know all this already.

stephan.


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>