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

Async #97

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Async #97

wants to merge 4 commits into from

Conversation

nos86
Copy link

@nos86 nos86 commented Mar 1, 2018

Hi,

I did some changes in order to avoid the blocking delay in the flow.

Basically I created a loop function that is called in the main loop.
It has an internal state machine for the operation. Clearly, the reading phase is done in a blocking way.

I tested it on my NodeMCU and WeMos board and it works fine.

I suggest to create a dedicated branch (like I did).
Maybe, in the future, a common solution (where the user can choise which method he prefers) can be done in order to get an unique library.

Regards,
Salvo

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.

None yet

1 participant