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

Serial.setTimeout() #6

Closed
Xplorer001 opened this issue Jun 18, 2016 · 1 comment
Closed

Serial.setTimeout() #6

Xplorer001 opened this issue Jun 18, 2016 · 1 comment
Assignees

Comments

@Xplorer001
Copy link
Collaborator

Set time out function needs to be implemented.

Serial.setTimeout() sets the maximum milliseconds to wait for serial data when using Serial.readBytesUntil(), Serial.readBytes(), Serial.parseInt() or Serial.parseFloat(). It defaults to 1000 milliseconds.

more at https://www.arduino.cc/en/Serial/SetTimeout

@SaheblalBagwan
Copy link
Member

Mapped the Serial class to Stream for including the timeout functionality.
Now setTimeout can be used with Serial class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants