Hi all,
Long time reader, first time caller. Been using teensy for about a year now (thanks Paul, incredible device), mostly for fairly simple tasks.
I'm diving into a new project now- it involves sending 8 (<10kHz) clock outputs, each with variable speed control from a front panel.
I'm coming up with a few ideas for code, and before i start working, i'd like to know if anyone has any suggestions for approach.

Leading idea right now has to do with setting a variable for each rate, and comparing them with millis() - set high output every (variable) in relation to millis.

I've been naiive in the past regarding time and microcontrollers, so i have a suspicion that this won't work due to something i'm unaware of.

Would appreciate any ideas !