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.
 

358 B

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");
    }
}