Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

Advice set up a continuous repeating PWM signal different freq/duty over 2 time slots

$
0
0
Hi guys.

Anyone wanting to do what was outlined above I've attached my main.c which is a simple XMCLib version. The only thing I don't do here is the PWM.
I control an LED blinking it at two intervals 200ms and 810ms. So depending on if you start the blink on or off you'll either have an 810ms on
LED with 200ms off, or 200ms on and 810ms off.

Anyway.. if you are like me and like it really spelled out, I added some comments on how I did the math as well.

Thanks again Deni.

-stv
?????

Viewing all articles
Browse latest Browse all 9892

Trending Articles



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