Skip to content

Async#97

Open
nos86 wants to merge 4 commits intoadafruit:masterfrom
nos86:async
Open

Async#97
nos86 wants to merge 4 commits intoadafruit:masterfrom
nos86:async

Conversation

@nos86
Copy link
Copy Markdown

@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.

1 participant