#include <timeObj.h> // Include the timeObj code from the LC_baseTools library.
timeObj myTimer(3000); // Create a timeObj for.. 3 seconds.
void setup() {
Serial.begin(9600); // Fire up the serial port.
Serial.println("The timer has started.");
}
void loop() {
if (myTimer.ding()) { // If the timer has expired..
Serial.println("Doing delayed thing."); // Do your thing that was delayed.
///myTimer.start(); // restart your timer. (if you want it to repeat)
myTimer.reset(); // reset your timer to NOT repeat.
}
// Other stuff can go here that runs as fast as possible.
}