Beaglebone: Controlling the on-board LEDs using C++