Arduino File.position()

Description

The File.position() function gets the current position of the pointer on the file. This is the location to which the next byte will be read from or written to.

Syntax

file.position()

Parameters

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

Returns

  • The position within the file (unsigned long)

ARDUINO BUY RECOMMENDATION

Arduino UNO R3
Arduino Starter Kit
Please note: These are Amazon affiliate links. If you buy the components through these links, We will get a commission at no extra cost to you. We appreciate it.

※ OUR MESSAGES