adc working

pwm not so well