Arduino-Scheduler
Portable Collaborative Multi-Tasking Scheduler for Arduino
SchedulerEventQueue.ino File Reference
#include <Scheduler.h>
#include <Scheduler/Queue.h>
Include dependency graph for SchedulerEventQueue.ino:

Go to the source code of this file.

Functions

void setup ()
 
void loop ()
 
void eventHandler ()
 

Variables

Queue< unsigned int, 8 > eventq
 

Detailed Description

Version
1.0

License

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.

Description

This Arduino sketch shows how to use the Scheduler library; Queue events between tasks.

Definition in file SchedulerEventQueue.ino.

Function Documentation

void eventHandler ( )

Definition at line 59 of file SchedulerEventQueue.ino.

void loop ( )

Definition at line 45 of file SchedulerEventQueue.ino.

void setup ( )

Definition at line 33 of file SchedulerEventQueue.ino.

Variable Documentation

Queue<unsigned int, 8> eventq

Definition at line 31 of file SchedulerEventQueue.ino.