Skip to content
This repository was archived by the owner on Jan 3, 2026. It is now read-only.

Add readline method#5

Open
collineps wants to merge 4 commits intom-labs:masterfrom
quantumion:add-readline
Open

Add readline method#5
collineps wants to merge 4 commits intom-labs:masterfrom
quantumion:add-readline

Conversation

@collineps
Copy link

Adds a readline method to the AsyncSerial class interface. Reads an entire 'line' from the serial port character by character until an expected terminator character is read (newline by default). Useful for when a device returns messages of unknown length but with a known terminator.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant