Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.2 KB

File metadata and controls

62 lines (43 loc) · 1.2 KB
title
Serial.readString()

readString()

Description

Serial.readString() reads characters from the serial buffer into a String. The function terminates if it times out (see setTimeout()).

Serial.readString() inherits from the Stream utility class.

Syntax

Serial.readString()

Parameters

Serial: serial port object. See the list of available serial ports for each board on the Serial main page.

Returns

A String read from the serial buffer

See also