创客百科

姿势共享,有节操无门槛参与的创客百科,创客动力之源 \ (^_^) /

用户工具

站点工具


en:arduino:language:serial_find

Serial.find()

Description

Serial.find() 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.

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

Syntax

Serial.find(target)

Parameters

target : the string to search for (char)

Returns

boolean

See also

  • Stream
  • Stream.find()

Reference Home

本页面的其他翻译:
en/arduino/language/serial_find.txt · 最后更改: 2016/12/25 22:15 (外部编辑)