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