Arduino Programming Language: Serial.find

Name

Serial.find()

Description

Reads data from the serial buffer until the target string of given length is found. The function returns true if target string is found, false if it times out.

Syntax

Serial.find(target)

Parameters

  • target : the string to search for (char)

Returns

boolean 


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc