PWM var 0.6

improve my PWM code and use analog read to contral brightness, both
work.