simple static PWM example for RG LED