MacIntoshCZ
Active Member
I selected pin 3 as output. And set pwm at 50% duty cycle. I dont need adc to set duty cycle. It was just for test purpose and it didnt work.That code is outputting PWM on pin 9 not pin 3... Pin 3 has a pot to change the PWM on pin 9..
500 is tooo high... 256 means 100%, 127 means 50% and 0 means 0%...
But i realize now that you was correct that 500 is too high. Timer 2 is 8 bit... And pin 3 should be under timer 2
Last edited: