read String

Read the buffered serial data as a string.

serial.readString();

Returns

  • a string containing input from the serial port. The string is empty if no data is available.

See also

write string

serial