adds cpp versions of manual control of leds