Reference.FileAvailable History

Hide minor edits - Show changes to markup

November 04, 2011, at 06:11 PM by Scott Fitzgerald -
Added lines 7-8:

available() inherits from the Stream utility class.

Changed lines 25-26 from:
to:
December 22, 2010, at 11:53 PM by David A. Mellis -
Changed lines 17-18 from:

1 if there is at least one byte available, 0 otherwise

to:

the number of bytes available (int)

November 21, 2010, at 07:19 PM by David A. Mellis -
Added lines 1-23:

SD : File class

available()

Check if there are any bytes available for reading from the file.

Syntax

file.available()

Parameters

file: an instance of the File class (returned by SD.open())

Returns

1 if there is at least one byte available, 0 otherwise

See Also

Share