openFrameworks-RaspberryPi / openFrameworks

This repo has migrated into the openFramworks core! Please go to http://github.com/openFrameworks/openFrameworks for the latest!
http://github.com/openFrameworks/openFrameworks
Other
104 stars 11 forks source link

Proposed Addon : ofxGPIO #17

Closed bakercp closed 11 years ago

bakercp commented 11 years ago

ofxGPIO to allow direct access general purpose input / output (GPIO) pins on the RPI and other embedded linux systems.

Could work nicely with the T-COBBLER or others: http://www.adafruit.com/blog/2012/11/16/new-product-adafruit-pi-t-cobbler-breakout-kit-for-raspberry-pi/

http://log.liminastudio.com/writing/tutorials/tutorial-how-to-use-your-raspberry-pi-like-an-arduino

What would be the most generic approach to this?

arturoc commented 11 years ago

I started working on this sometime ago on a beaglebone till it broke and had to return it, i think the best would be to replicate ofArduino api

bakercp commented 11 years ago

related: https://projects.drogon.net/raspberry-pi/wiringpi/

tombue commented 11 years ago

Have tried the wiringPi library as well, seems to work flawless.

jvcleave commented 11 years ago

heads up - while looking at /etc/modprobe.d/raspi-blacklist.conf I found these entries which could be problematic

# blacklist spi and i2c by default (many users don't need them)

blacklist spi-bcm2708
blacklist i2c-bcm2708
bakercp commented 11 years ago

Indeed! I believe the adafruit distro has all of that stuff enabled.


http://christopherbaker.net

On Sat, Dec 8, 2012 at 2:56 AM, Jason Van Cleave notifications@github.comwrote:

heads up - while looking at /etc/modprobe.d/raspi-blacklist.conf I found these entries which could be problematic

blacklist spi and i2c by default (many users don't need them)

blacklist spi-bcm2708 blacklist i2c-bcm2708

— Reply to this email directly or view it on GitHubhttps://github.com/openFrameworks-RaspberryPi/openFrameworks/issues/17#issuecomment-11156592.

fishkingsin commented 11 years ago

wiringpi repo is here https://github.com/WiringPi/WiringPi

danzeeeman commented 11 years ago

here is a good setup guide http://www.brianhensley.net/2012/07/getting-spi-working-on-raspberry-pi.html

bakercp commented 11 years ago

Closing this, since it isn't an "issue" and moving this here: https://github.com/openFrameworks-RaspberryPi/openFrameworks/wiki/Arm-Linux-Wishlist

dan-eachscape commented 11 years ago

oooo check this out https://github.com/sarfata/pi-blaster/ (sorry its my work account)

bakercp commented 11 years ago

@notandrewkaye check this thread.

fishkingsin commented 11 years ago

Hey guys I did something simula before https://github.com/fishkingsin/ofxTotalControl/ to control the p9813 chips led light but i have no idea how can is comes together with ofxGPIO because it specifically using SPI from

https://bitbucket.org/devries/elinux-tcl I would like to hear suggestions on these topic ScreenShot