I want to have timer interrupts in Arduino to do sth like this: there are some periodic tasks that will be done like sampling sensors, sending telemetry ... and some tasks will be triggered as in taking a capture and storing it in SD card... because storing the iamge takes a long time, other normal tasks should be executed meanwhile... and image also keeps storing to the SD card... I want to use TaskScheduler library in arduino..i can't find in the docs that how it works...it is based on interrupt or time(millis)? I want to make sure during the image storing, in a specific time, storing will be stopped , special task happens then the image storing continues... does TaskScheduler work like this?
Asked
Active
Viewed 505 times
0
-
Are you talking about this library: https://github.com/arkhipenko/TaskScheduler ? Also available via Library Manager (TaskScheduler by Anatoli Arkhipenko). If not, then please edit your question to include a link to where you downloaded the TaskScheduler library from. – per1234 Jan 08 '17 at 09:41
-
Yeah I meant the default Arduino library as u mentioned... – alireza Jan 08 '17 at 10:45
-
you have the documentation and you have the sourcecode which consists of a single file. if you cannot figure this out yourself you are most likely not fit to use the library properly. better spend some times and get to know your tools. – Piglet Jan 08 '17 at 12:32