Stream

From Microduino Wiki
Revision as of 09:18, 11 August 2016 by 172.31.23.3 (talk) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]