Returns a single character read from the serial port
| 75 | uint8_t readByte(); |
| 76 | //! Returns a single character read from the serial port |
| 77 | char readChar() { return static_cast<char>( readByte() ); } |
| 78 | |
| 79 | //! Returns a string composed of bytes read until a character \a token is found, or up to \a maxLength bytes have been read and \a maxLength > 0. Throws a SerialTimeoutExc() if timeoutSeconds > 0 and \a timeoutSeconds seconds pass before \a token is found. |
| 80 | std::string readStringUntil( char token, size_t maxLength = 0, double timeoutSeconds = -1.0 ); |