hello
is there a schedule timer library that works in microseconds? I am trying to generate square waves at 40 kHz frequency that begin at different times.
thanks
hello
is there a schedule timer library that works in microseconds? I am trying to generate square waves at 40 kHz frequency that begin at different times.
thanks
marionboynton:
is there a schedule timer library that works in microseconds?
Could be. Have a look. (supply yourself with an ample helping of your favorite beverage)
Maybe you should look into how the PWM pins work, and/or dig into timer interrupt routines. Could be a lot easier and more flexible.