|
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 | controllerLoop () |
| void | buttonLoop () |
Variables | |
| const int | LED = 13 |
| volatile unsigned int | period = 0 |
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 uses the Scheduler library to control and blink built-in LED. Send '1' to turn LED on and '0' to turn off.
Definition in file SchedulerBlinkController.ino.
| void buttonLoop | ( | ) |
Definition at line 81 of file SchedulerBlinkController.ino.
| void controllerLoop | ( | ) |
Definition at line 60 of file SchedulerBlinkController.ino.
| void loop | ( | ) |
Definition at line 50 of file SchedulerBlinkController.ino.
| void setup | ( | ) |
Definition at line 33 of file SchedulerBlinkController.ino.
| const int LED = 13 |
Definition at line 30 of file SchedulerBlinkController.ino.
| volatile unsigned int period = 0 |
Definition at line 31 of file SchedulerBlinkController.ino.