Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Moment object, eliminate rollover bugs in time interval calculation #55

Merged
merged 5 commits into from
Mar 11, 2024

Conversation

floatplane
Copy link
Owner

The previous code for interval checking was prone to errors, given that the 32-bit arduino millis() function rolls over relatively frequently - this just makes that class of errors impossible.

@floatplane floatplane merged commit cc4d19f into main Mar 11, 2024
8 checks passed
@floatplane floatplane deleted the moment branch March 11, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant