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

miros() wrong time #114

Open
vuhazu opened this issue Jun 5, 2024 · 0 comments
Open

miros() wrong time #114

vuhazu opened this issue Jun 5, 2024 · 0 comments

Comments

@vuhazu
Copy link

vuhazu commented Jun 5, 2024

void loop(){ start_time = micros(); delay(1); stop_time = micros(); elapsed_time = stop_time - start_time; Serial.print("Time: "); Serial.println(elapsed_time); }

test micros

whereas millis() is correct. only micros() is wrong

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