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

Go to the source code of this file.

Functions

void setup ()
 
void loop ()
 
void setup1 ()
 
void loop1 ()
 
void setup2 ()
 
void loop2 ()
 
void setup3 ()
 
void loop3 ()
 
void blink (int pin, unsigned int ms)
 

Variables

const int led = 13
 
const int led1 = 10
 
const int led2 = 11
 
const int led3 = 12
 

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 uses the Scheduler library to blink four LEDs with different speed. Each LED is controlled by a separate task.

Definition in file SchedulerBlink.ino.

Function Documentation

void blink ( int  pin,
unsigned int  ms 
)

Definition at line 78 of file SchedulerBlink.ino.

void loop ( )

Definition at line 37 of file SchedulerBlink.ino.

void loop1 ( )

Definition at line 49 of file SchedulerBlink.ino.

void loop2 ( )

Definition at line 61 of file SchedulerBlink.ino.

void loop3 ( )

Definition at line 73 of file SchedulerBlink.ino.

void setup ( )

Definition at line 28 of file SchedulerBlink.ino.

void setup1 ( )

Definition at line 44 of file SchedulerBlink.ino.

void setup2 ( )

Definition at line 56 of file SchedulerBlink.ino.

void setup3 ( )

Definition at line 68 of file SchedulerBlink.ino.

Variable Documentation

const int led = 13

Definition at line 26 of file SchedulerBlink.ino.

const int led1 = 10

Definition at line 42 of file SchedulerBlink.ino.

const int led2 = 11

Definition at line 54 of file SchedulerBlink.ino.

const int led3 = 12

Definition at line 66 of file SchedulerBlink.ino.