Skip to content

Extend Serial Functions. Adds Continuous Serial Streaming to fast LED data retrieval - #2667

Merged
Aircoookie merged 2 commits into
wled:0_14from
ChuckMash:serial+
Sep 26, 2022
Merged

Aircoookie merged 2 commits into
wled:0_14from
ChuckMash:serial+

Conversation

@ChuckMash

Copy link
Copy Markdown
Contributor

Extends the serial TPM2 functionality a bit.

The bytes 'O' and 'o' now can start and stop the continuous streaming of LED data (as TPM2) being returned over the serial connection without specifically having to repeatedly send 'L' byte to request it.

Any received byte other than 'O' halts the streaming data so that other serial functionality can be used without specifically sending the stop streaming byte.

Continuous Serial Streaming only sends LED data when the strip has been updated.
Generally matching with "Frames / second"

In the event of high-frequency polling of LED data with 'L', this eliminates the need to poll at a high rate, providing new LED data updates as it becomes available, saving time and resources.

Add Continuous Serial Streaming feature to wled_serial.
@stale

stale Bot commented Sep 21, 2022

Copy link
Copy Markdown

Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs.
Thank you for using WLED!

@stale stale Bot added the stale This issue will be closed soon because of prolonged inactivity label Sep 21, 2022
@ChuckMash

Copy link
Copy Markdown
Contributor Author

Since stalebot has reminded me, any thoughts on this PR?
If undesirable, I will close it out

@stale stale Bot removed the stale This issue will be closed soon because of prolonged inactivity label Sep 21, 2022
@Aircoookie Aircoookie added the keep This issue will never become stale/closed automatically label Sep 26, 2022
@Aircoookie
Aircoookie changed the base branch from main to 0_14 September 26, 2022 07:58
@Aircoookie
Aircoookie merged commit 7cd9e88 into wled:0_14 Sep 26, 2022
@ChuckMash
ChuckMash deleted the serial+ branch September 26, 2022 15:23
aenertia pushed a commit to aenertia/WLED that referenced this pull request Aug 18, 2026
Add Continuous Serial Streaming feature to wled_serial.

Co-authored-by: Christian Schwinne <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

keep This issue will never become stale/closed automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants