Go Down

Topic: schedule timer library  (Read 67 times) previous topic - next topic

marionboynton

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

dougp

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)


https://github.com/per1234/inoliblist

Everything we call real is made of things that cannot be regarded as real.  If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet. - Niels Bohr

No private consultations undertaken!

wvmarle

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.
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

Go Up