I'm not particularly into using python so I'm looking at the following for C++/C options for accessing the GPIO pins:

After looking at the above options I am going to try

  • WiringPi
  • sysfs
sysfs looks to be very simple and straight forward and idea for controlling something that is just a simple on/off switch.

WiringPi has a bunch of additional modules that provide additional functionality around SPI and I2C interfaces which will be needed for reading and writing to sensors.