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

BASCOM-AVR : PWM 1Mhz : REPLY

$
0
0
Set the clock bits CS12:0 to 001, which gives you a prescaler of 1. Set ICR1 to 15, so you get a 1MHz PWM. Now you set PWM1a to 0...15.

Viewing all articles
Browse latest Browse all 20940

Trending Articles



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