Skip to content

Instantly share code, notes, and snippets.

@ah01
Created January 22, 2012 00:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ah01/1654676 to your computer and use it in GitHub Desktop.
Save ah01/1654676 to your computer and use it in GitHub Desktop.
IsTime function
boolean IsTime(unsigned long *timeMark, unsigned long timeInterval) {
if (millis() - *timeMark >= timeInterval) {
*timeMark = millis();
return true;
}
return false;
}
@q2dg
Copy link

q2dg commented Sep 26, 2015

@scargill So...any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment