Top | Previous | Next |
system.serial.readUntil |
Description Read from a serial port until a delimiter character is encountered. Syntax system.serial.readUntil(port, delimiter, includeDelimiter) Parameters String port - The previously configured serial port to use. char delimiter - The delimiter to read until. boolean includeDelimiter - If true, the delimiter will be included in the return value. Returns String - Returns a String containing all characters read until the delimiter was reached, and including the delimiter if the "includeDelimiter" parameter was true. Scope All |