add led control: GPIO output or PWM