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

not issue but question: can esp8266sam be used async ? #26

Open
docteurzoidberg opened this issue Jun 9, 2024 · 2 comments
Open

not issue but question: can esp8266sam be used async ? #26

docteurzoidberg opened this issue Jun 9, 2024 · 2 comments

Comments

@docteurzoidberg
Copy link

Hi. i could not test for now. still waiting for the correct hardware...

But can you tell me if it's possible to use esp8266sam without locking the main program loop ?

Does the main loop hang when the say method is called ?

Goal is to animate something on a screen while tts is running. could this be achieved ?

Thanks by advance for you answer.
DrZoid

@docteurzoidberg docteurzoidberg changed the title no issue but question not issue but question Jun 9, 2024
@earlephilhower
Copy link
Owner

The call doesn't return until the audio is completed, sorry.

@docteurzoidberg
Copy link
Author

docteurzoidberg commented Jun 10, 2024

The call doesn't return until the audio is completed, sorry.

Many thanks for your answer ! (and your library either !)

I guess my goal is now to sync two mcus (over serial/i2c?). one beeing dedicated for SAM ^^

will try this approach

@docteurzoidberg docteurzoidberg changed the title not issue but question not issue but question: can esp8266sam be used async ? Jun 10, 2024
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