1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
David A. Mellis
d59fcb8eed Fixing warnings (David H. Lynch Jr). 2011-03-03 22:56:20 -05:00
David A. Mellis
575bb1dafb Redoing peek() implementation (SD file class).
Now simply seeking backwards by a character in peek() rather than trying to keep track of the extra character read.
2010-12-22 16:47:50 -06:00
David A. Mellis
a7a8f3fa10 Trying to fix seek() / peek() interactions. 2010-12-22 16:37:48 -06:00
David A. Mellis
4742739d6e Adding position() function to File class and replacing FILE_TRUNCATE and FILE_APPEND with FILE_WRITE (SD library). Updating examples and keywords.txt accordingly. 2010-12-22 15:52:09 -06:00
David A. Mellis
5057d5b109 Adding seek() and size() functions to SD File class. 2010-12-22 15:11:54 -06:00
David A. Mellis
fcc4188b15 SD File object implements Stream.
Added peak() and available() using a single byte buffer.
Added flush().
2010-11-20 11:45:05 -05:00
David A. Mellis
a5898ae26a Revising SD library API.
Open now returns a file object (which has a close() method); exists() no longer accepts a parent directory.
2010-11-19 22:30:40 -05:00