Fixed flashing bug, added PWM(?)