Microcontroller › AVR › atmega 8 to produce pwm › Hi, mahmoud In Atmega8 you
February 14, 2014 at 10:41 am #11026
In Atmega8 you can get PWM output by programming TimerX (0,1,2) in Fast PWM mode, phase correct PWM mode and Phase and freq. corrrect mode. In ATmega8 datasheet sample code is given on TimerX. On Youtube seacrh humanHardDrive for video tutorial.