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

Go to the source code of this file.

Classes

struct  msg_t
 

Functions

void setup ()
 
void loop ()
 
void messageSender ()
 
void messageReceiver ()
 

Variables

Channel chan
 

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; Message channel between tasks; two senders and one receiver.

Definition in file SchedulerChannel.ino.

Function Documentation

void loop ( )

Definition at line 46 of file SchedulerChannel.ino.

void messageReceiver ( )

Definition at line 76 of file SchedulerChannel.ino.

void messageSender ( )

Definition at line 61 of file SchedulerChannel.ino.

void setup ( )

Definition at line 33 of file SchedulerChannel.ino.

Variable Documentation

Channel chan

Definition at line 31 of file SchedulerChannel.ino.