Download the file
  1. #ifndef SCHEDULER_H
  2. #define SCHEDULER_H
  3.  
  4. #include "tasks.h"
  5. #include "hsphoto.h"
  6.  
  7. class TaskScheduler {
  8. public:
  9. TaskScheduler(Task **tasks, uint8_t numTasks):
  10. tasks(tasks),
  11. numTasks(numTasks)
  12. {};
  13. void run();
  14. private:
  15. Task **tasks;
  16. int numTasks;
  17. };
  18. #endif
  19. // vim:ft=arduino
  20.