Cleaner code for led flashing
Implement control of rgb leds