moved from PWM to digital out