hardware control of leds