maniacbug / StandardCplusplus

Standard C++ for Arduino (port of uClibc++)
594 stars 182 forks source link

cin should block when there are no characters available. #17

Closed mike-matera closed 1 year ago

mike-matera commented 9 years ago

The stream should wait until characters appear on the serial port, imitating the blocking behavior of the OS. There is no EOF condition on the serial port. Unless maybe RTS goes low but...