changed LED class to use PWM channels