Submitted by Ralph McArdell on Sun, 01 Jun 2014 17:15:59 +0100
Updated: Thu, 26 Mar 2015 15:22:06 +0000

I started experimenting with Raspberry Pi GPIO using Python [1,2]. Then the original Gertboard[3] kit was released so I ordered and built one which enabled me to play with BCM2835 peripheral IO beyond basic GPIO. At the time the Gertboard had test and example C code available [4] that, as with the Python case, I felt could be expressed more cleanly. I thought it would be interesting to see what advantages C++, hopefully C++11, features and idioms might provide.