Stream

From Microduino Wiki
Jump to: navigation, search

Stream is the based class of characters and binary data. It needn’t be claimed, and it is called directly when some functions are used.

Stream defines the reading function or arduino. When using read() in any core function of arduino, you can assume that it has called class Stream. As for the kind of print(), Stream is called during class print.

Some libraries base on Stream:

Serial

Wire

Ethernet Client

Ethernet Server

SD

  • Function

available()

read()

flush()

find()

findUntil()

peek()

readBytes()

readBytesUntil()

readString()

readStringUntil()

parseInt()

parsefloat()

setTimeout()


[Return to Arduino Syntax Manual]