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

Add readline method #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant