Arduino Function: SD.read

Description

This function reads a byte from the file. read() inherits from the Stream utility class.

Syntax

file.read()

Parameters

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

Returns

 The next character (or byte), or -1 if none is available.


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc