Open
Conversation
This a first commit. Code Untested.
Added Example that uses timerEvery func Fix Syntax Highlight Fixed timerEvery func (all fixes are tested)
Added example that demonstrates the use of timerReset. Fixed datatypes of function to unsigned long to allow operation on results of functions.
All functions have been tested.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello!
Alot of times I'd wish I had a stopwatch I can set and reset whenever I need to. Usually I can do this with some workarounds using
millis(). And that's what I intended to do with the added functions.The functions simply mimic the use of
millis()but with respect to a point in time the user can choose. (Say 150ms after a certain event happens)