Feb 8, 2014 #1 A abdoalghareeb Member level 5 Joined Feb 5, 2010 Messages 84 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,288 Activity points 1,981 I use ATmega 8 microcontroller and timer1 I want to generate two PWM square wave on OC1A & OC1B pins, but the phase between the waves must be 180 degrees The frequency for both waves = 50 Hz The duty cycle for both waves = 30 %
I use ATmega 8 microcontroller and timer1 I want to generate two PWM square wave on OC1A & OC1B pins, but the phase between the waves must be 180 degrees The frequency for both waves = 50 Hz The duty cycle for both waves = 30 %
Feb 8, 2014 #2 alexan_e Administrator Joined Mar 16, 2008 Messages 11,888 Helped 2,021 Reputation 4,158 Reaction score 2,031 Trophy points 1,393 Location Greece Activity points 64,371 OK, and the problem is... ? What have you tried?
Feb 9, 2014 #3 A abdoalghareeb Member level 5 Joined Feb 5, 2010 Messages 84 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,288 Activity points 1,981 what are the control registers values of timer1 for generate that waves