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

Go to the source code of this file.

Functions

void buttonDown ()
 
void setup ()
 
void loop ()
 

Variables

const int BUTTON = 4
 
unsigned int count = 0
 
Debounce< BUTTON, buttonDownbutton
 

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; Rewrite of SchedulerDebounce with Debounce task template class.

Definition in file SchedulerDebounceTemplate.ino.

Function Documentation

void buttonDown ( )

Definition at line 34 of file SchedulerDebounceTemplate.ino.

void loop ( )

Definition at line 51 of file SchedulerDebounceTemplate.ino.

void setup ( )

Definition at line 43 of file SchedulerDebounceTemplate.ino.

Variable Documentation

const int BUTTON = 4

Definition at line 31 of file SchedulerDebounceTemplate.ino.

Definition at line 41 of file SchedulerDebounceTemplate.ino.

unsigned int count = 0

Definition at line 32 of file SchedulerDebounceTemplate.ino.