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

Turn on two lights simultaneously #85

Open
hoainamken opened this issue Oct 31, 2022 · 0 comments
Open

Turn on two lights simultaneously #85

hoainamken opened this issue Oct 31, 2022 · 0 comments

Comments

@hoainamken
Copy link

hoainamken commented Oct 31, 2022

Hi,

Thank you for your library.

I have been able to turn on each light(8 leds each) sequentially. Now I have a while loop, and inside it, I need to turn on at least two lights at the same time for each iteration.
When I use multi-thread to do this, it keeps saying Could not communicate with BlinkStick <serial> - it may have been removed
B/c of that, I tried another way, that is using some sort of async functions in python, however, I got the error:
python: ../../libusb/io.c:2118: handle_events: Assertion ctx->pollfds_cnt >= internal_nfds' failed.`

Is there any ways to do this?
Thanks

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