Periodic timers
maze 7f00deed4e Initial import 10 months ago
.gitignore Initial commit 10 months ago
LICENSE Initial import 10 months ago
README.md Initial import 10 months ago
Timer.h Initial import 10 months 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");
    }
}