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

BASCOM-AVR : ATTINY 84 PWM thing.... I don't get it : NEWTOPIC

$
0
0
So, I configure my Timer.... Config Timer0 = Pwm , Prescale = 8 , Compare A Pwm = Clear Up , Compare B Pwm = Clear Down And I output some stuff Pwm0a = 32 Pwm0b = 32 I get a narrow pulse on both outputs, this much works fine. If I make "A PWM= clear down" the pulse is negative going versus when It is up it is positive going , right? What is bugging me, is that I can't make B PWM different from A PWM. I think I should be able to get symetrical opposite pulses..... but they persist in being exactly the same. Any thoughts? :? [b:89df494acb][color=red:89df494acb](BASCOM-AVR version : 2.0.7.8 )[/b:89df494acb][/color:89df494acb]

Viewing all articles
Browse latest Browse all 20748

Latest Images

Trending Articles



Latest Images

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