Home Page | Language Reference| extended() | SD Reference | Libraries | Comparison | Changes

Serial

int serialAvailable()

Description

Get the number of bytes (characters) available for reading over the serial port.

Parameters

None

Returns

the number of bytes available, or 0 if there aren't any

See also

Reference Home

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.