Arduino-Scheduler
Portable Collaborative Multi-Tasking Scheduler for Arduino
|
#include <Scheduler.h>
Go to the source code of this file.
Functions | |
void | setup () |
void | loop () |
void | setup2 () |
void | loop2 () |
void | setup3 () |
void | loop3 () |
Variables | |
const int | LED = 13 |
Copyright (C) 2015-2016, Mikael Patel
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
This Arduino sketch shows how to use the Scheduler library. Two tasks are scheduled together with the main task.
Definition in file SchedulerDemo.ino.
void loop | ( | ) |
Definition at line 48 of file SchedulerDemo.ino.
void loop2 | ( | ) |
Definition at line 73 of file SchedulerDemo.ino.
void loop3 | ( | ) |
Definition at line 98 of file SchedulerDemo.ino.
void setup | ( | ) |
Definition at line 35 of file SchedulerDemo.ino.
void setup2 | ( | ) |
Definition at line 66 of file SchedulerDemo.ino.
void setup3 | ( | ) |
Definition at line 92 of file SchedulerDemo.ino.
const int LED = 13 |
Definition at line 64 of file SchedulerDemo.ino.