What libraries are available for interfacing with the GPIO?
|
A very nice way to get started using gpio is using the /sys filesytem, you can do it all from the command line. e.g.
More documentation in linux/Documentation/gpio.txt |
|||||||||||||||
|
|
There is one that I've found here. I haven't had the chance to test it, as my Pi hasn't arrived. It does, however, look assuring. There's even a forum thread here that professes promising payoff. If you want a down-to-the-basics C example using standard libraries, there's one here from eLinux. |
|||
|
|
|
RPi.GPIO is a python package for GPIO controlling. This tutorial video shows the basic usage of the package. |
|||
|
|
|
quick2wire can be used by regular users (not root):
|
|||||
|
|
It is really simple to control the GPIO ports in any language as shown on http://elinux.org, so I believe that you actually do not need a framework for the direct control. You need to know which additional features you expect of a framework, like
I ended up writing a framework for myself: Control GPIO ports over http and with cronjobs which perfectly fits my needs. I wanted to have something for home-automation. So I needed cronjobs and a JSON-Web-Interface to run a native App on my iPhone. Therefore I did not write a Browser UI. I believe would also be good for an alarm system. I did not find a (complete) list of frameworks yet. There are some mentioned on the forum of raspberrypi.org. |
|||
|
|