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
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