Quantcast
Channel: Reprap Forum - Controllers
Viewing all articles
Browse latest Browse all 10211

Re: Need some help with writing code for PWM

$
0
0
Where did you use that? I'd like to take a look at it. How much dutycycle can you still have at 200kHz?
Atmels datasheet is causing a lot of confusion when it comes to Timer1. Nickgammon has a nice tutorial series about timers and it helped me a lot, but still it's hard to get my head around how to actually make a PWM with more control over the actual pulse width and frequency. It looks like your method is something i need to have a closer look at.

Still the frequency changes when you change the pulsewitdh or am I wrong?

Viewing all articles
Browse latest Browse all 10211

Trending Articles



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