[Noisebridge-discuss] RaspberryPI GPIO Library

Torrie Fischer tdfischer at hackerbots.net
Tue May 13 00:23:38 UTC 2014

On Monday, May 12, 2014 17:01:26 Casey Callendrello wrote:
> Torrie,
> Neat. Out of curiosity, and I mean this in the most friendly and
> inquisitive way possible, why didn't you use one of the existing libraries?

That is a perfectly good question, Casey.

GeePIO is built on GLib, so it provides all the magical power of GObjects with 
properties/signals/slots/etc. GObject-introspection bindings allow for the 
library to be used with many other scripting languages including Vala...once I 
manage to beat g-i-r into shape.

Additionally, this library is designed to be able to support different 
backends in the future, for use with /dev/mem instead of just the generic 
stuff in /sys/class/gpio. As you would expect, GPIO offsets in /dev/mem is 
different for each platform.

> I've used PiGPIO (http://abyz.co.uk/rpi/pigpio/) for something basic
> (servo control), and I'm wondering if there's something I've missed.
> Thanks,
> --Casey
> On 5/12/14, 2:48 PM, Torrie Fischer wrote:
> > Hiya, noisebridge.
> > 
> > I made a thing last week:
> > 
> > http://phrobo.net/blog/2014/May/12/announcing-geepio/
> > 
> > It is a small C library built on top of GLib for interacting with the GPIO
> > pins on a RaspberryPI, though it can in theory run on any Linux system
> > that
> > exposes things via /sys/class/gpio/
> > 
> > I'm working on using it to build an RFID door entry system for my house.
> > Hopefully someone else will find it useful :)
> > 
> > 
> > _______________________________________________
> > Noisebridge-discuss mailing list
> > Noisebridge-discuss at lists.noisebridge.net
> > https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.noisebridge.net/pipermail/noisebridge-discuss/attachments/20140512/41bd09ee/attachment.sig>

More information about the Noisebridge-discuss mailing list