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

Try realtime #22

Open
DoganM95 opened this issue Apr 5, 2022 · 1 comment
Open

Try realtime #22

DoganM95 opened this issue Apr 5, 2022 · 1 comment

Comments

@DoganM95
Copy link
Owner

DoganM95 commented Apr 5, 2022

Try changing and showing the currently set brightness in realtime.
Setting a virtual pin takes time and blocks (sync).

-> try changing every component in its own thread (async)

@DoganM95
Copy link
Owner Author

DoganM95 commented Jan 6, 2023

Another approach:

Give each widget a separate thread to poll the current state from.
This way, setting one lights state globally would update every widget on change every x milliseconds (polling cycle time). Would remove lags when moving the main slider in realtime.

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