NOTE: As of April 08 2012, this libary has been discontinued... Please use the updated library at https://github.com/nunoalves/BeagleBone_IO_lib. The reason why I haven't deleted this repository is because it is linked with two blog posts at http://www.nunoalves.com/open_source/ .