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

Nepo4Arduino: Timer overflow #1709

Open
Lexa2000 opened this issue Dec 4, 2024 · 0 comments
Open

Nepo4Arduino: Timer overflow #1709

Lexa2000 opened this issue Dec 4, 2024 · 0 comments

Comments

@Lexa2000
Copy link

Lexa2000 commented Dec 4, 2024

The Lab uses a u_int16 data type for the millis() query, so each timer overflows after 32 seconds and “hangs” in the negative value range for the next 32 seconds.

In most cases this will not be noticeable, but if more complex sequences are to be programmed, which only come to the timer query after > 32 seconds, then unexpected runtime behavior can occur.

It would be great if you could specify this restriction in the NEPO help for the timer or adapt the implementation yourself.

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

No branches or pull requests

1 participant