Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20599

BASCOM-AVR : Atmega644A Timer2 PWM-Mode config error : NEWTOPIC

$
0
0
Hi folks, I'm trying to use the 3 Timers of an Atmega644A in PWM-Mode. Timer0 and Timer1 is ok, but Timer2 cannot be configured. Following code is producing a config error in the last line (Config Timer2): Unknown CONFIG Parameter [COMPARE A PWM]........... ........... Config Timer0 = Pwm , Prescale = 8 , Pwm = On , Compare A Pwm = Clear_up Config Timer1 = Pwm , Pwm = 10 , Prescale = 8 , Compare B Pwm = Clear Up Config Timer2 = Pwm , Prescale = 8 , Pwm = On , Compare A Pwm = Clear Up ---------------------- The Atmega644A has 3 timers, each with 2 compare registers. Any idea for the reason of this error message? best regards from the Black Forest Rolf [b:517bddd9f3][color=red:517bddd9f3](BASCOM-AVR version : 2.0.7.5 , Latest : 2.0.7.6 )[/b:517bddd9f3][/color:517bddd9f3]

Viewing all articles
Browse latest Browse all 20599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>