Skip to content

taromorimoto/interval-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

interval-timer

A simple interval timer for Arduino.

Example usage:

#include "IntervalTimer.h"

void setup() {
  Serial.begin(9600);
}

void myFunctionA() {
	Serial.println("Hello A!");
}

void myFunctionB() {
	Serial.println("Hello B!");
}

IntervalTimer timerA(1000, myFunctionA);
IntervalTimer timerB(3000, myFunctionB);

void loop() {
	timerA.update();
	timerB.update();
}

You can just make a zip of the IntervalTimer folder and add as a library in Arduino IDE.

About

A simple interval timer for Arduino

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages