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

Re: Need some help with writing code for PWM

$
0
0
... I'm using a timer- or external-interrupt for starting the ON time and then "delayMicroseconds(pulse_high);" with a variable smaller than the timer base for the pulse duration ... this is precise enough for pulsing frequencies of up to 200kHz.

Viewing all articles
Browse latest Browse all 10211

Trending Articles



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