Periodic timers for AVR/ESP8266/ESP32/etc
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Maze Modderman-Lenstra 7f00deed4e Initial import 2 years ago
.gitignore Initial commit 2 years ago
LICENSE Initial import 2 years ago
README.md Initial import 2 years ago
Timer.h Initial import 2 years ago

README.md

Timer

Periodic timers for AVR/ESP8266/ESP32/etc.

Compatibility

This is targeting AVR/ESP8266/ESP32/etc. but requires C++11 (ie -std=c++11 for GCC).

Usage

Example:

#include <Timer.h>

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

void loop() {
    EVERY_N_SECONDS(1) {
        Serial.println("... another second has passed");
    }
}