Download Print this page

DFRobot FireBeetle ESP32-E Manual page 52

Advertisement

BASE (optional): the base in which to print numbers: BIN for binary (base 2), DEC for decimal (base 10), OCT for octal (base 8), HEX for
hexadecimal (base 16).
seek()
Description: Seek to a new position in the file, which must be between 0 and the size of the file (inclusive). Syntax: file. seek( pos)
Parameter:
file:an instance of the File class
pos: the position to which to seek
Return*: true for success, false for failure (boolean)
size()
Description: Get the size of the file. Syntax: filue. size()
Parameter:
file:an instance of the File class
Return*: the size of the file in bytes
read()
Description:Read from the file. Syntax: file.read Parameter:
file:an instance of the File class
Return:* The next byte (or character), or -1 if none is available.
write()
Description: Write data to the file.
Syntax: file. write(data)file. write(buf,len)
Parameter:
file:an instance of the File class

Advertisement

loading
Need help?

Need help?

Do you have a question about the FireBeetle ESP32-E and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Related Products for DFRobot FireBeetle ESP32-E

This manual is also suitable for:

Dfr0654