scottsilverlabs/raspberrystem — pull request #77 by jpsnyder (2014-10-24 19:07:44+00:00)
Title: Dev/jpsnyder/unrooting programs

- Created GPIO API that will work without sudo as a replacement for RPi.GPIO
- Makefile precompiles pullup.sbin and sets it as setuid root before packaging
- Post install script adds a udev rule to the user's pi to handle changing permissions of /sys/class/gpio as well as /dev/i2c
- removed hack created for makerfaire for led_matrix API to determine if creator or gamer lid is connected.

- API handles:
- standard input and output (get_level() and set_level())
- wait for edge detection with wait_for_edge()
- interrupt callback function during edge detections (only allows one callback function per pin)
- tested as much as a can with what I had (a single button and led)

closes #75