Ok so here is my problem,
I have a AVR ATMEGA16 uC made by atmel. I have normal timers working but I cannot figure out from the data sheet how to get a PWM output. I have posted on avrfreaks.net but none will post an example code for me. All they do is redirect me to ode that is not for my uC. So i decided since I know a few people on here use them if they could post some very basic example code for me which just includes basic PWM timer operation and to have to code commented so I can look at it and learn from it.
The datasheet can be found at:
http://www.atmel.com/dyn/resources/p...ts/doc2466.pdf
thank you in advanced,
John