Example code on accessing BeagleBone GPIO through mmap()
Switch branches/tags
Nothing to show
Clone or download
chirag chirag
chirag and chirag deleted: README.MD
Latest commit a13f633 Feb 4, 2014
Failed to load latest commit information.
README.md new file: README.md Feb 4, 2014
beaglebone_gpio.h new file: beaglebone_gpio.h Feb 1, 2014
gpi.c new file: beaglebone_gpio.h Feb 1, 2014


The above code contains a header file, beaglebone_gpio.h and a source file gpi.c Just compile the gpi.c on your beaglebone using gcc, and run it. Make sure you have first exported pin P9_12 as a GPIO using an appropriate device tree overlay