Learning TaskScheduler
Arduino Minimal Task Scheduler Example?
Task Scheduler?
Arduino Task Scheduler
Videos
Guys, I've come for help.
I'm making a Rube Goldberg machine assisted by an Arduino. There's lots of different motors and timed events, so I want to streamline things using a library like <SchedTaskT.h>. Thing is, I have processes that have to run the whole time, like a rotary encoder reader (<RotaryEncoder.h> library used), a PID controller (<PID_v1.h> library used), and a stepper motor (<AccelStepper.h> library used).
Meanwhile, it seems SchedTaskT can only trigger events at certain millisecond intervals, and I heard it doesn't like it when other things besides its own schedule dispatcher run in the loop function.
How should I go about this? Any advice?
Right now I'm going to try to put all my continuous processes in the loop function along with the dispatcher, which will just pass the continuous processes' functions different parameters (target positions, speeds, etc.) at certain times.
Side thought: it would be crazy convenient if there were a GUI with a drag-and-drop feature so that I could control all my processes like I can schedule things in Google Calendar.