use hardware pwm for green and red