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

Library not suitable for asynchronous aplications #125

Open
ardumiguel opened this issue Jul 17, 2023 · 1 comment
Open

Library not suitable for asynchronous aplications #125

ardumiguel opened this issue Jul 17, 2023 · 1 comment

Comments

@ardumiguel
Copy link

This library uses "delay();" internally at some point of the code so it makes it not suitable for asynchronous projects where millis are used to time the commands.

Any fix possible?

  • Arduino board: Any board

  • Arduino IDE version (found in Arduino -> About Arduino menu): Any version

  • List the steps to reproduce the problem below: Basic sketch but wothput delays

@caternuson
Copy link
Contributor

Can try removing them. The delay() call in begin() is probably some legacy thing, and even if needed could be dealt with in user code. The delay() call in getStructuredPacket() just helps with the ready wait loop.

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

2 participants