Replies: 2 comments
-
I like |
Beta Was this translation helpful? Give feedback.
0 replies
-
I realized that clearing the input with timeout is possible with
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Long time ago
flush()
changed from "purge input" to "send output buffer" and moved from Stream to Print.But now there is no method to "purge input".
Arduino classes and methods are inspired by the Processing language.
Processing has
clear()
. It could be added to Stream as virtual with some default implementation using read()or readBytes(&b, 1).Beta Was this translation helpful? Give feedback.
All reactions