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

28 Commits

Author SHA1 Message Date
David A. Mellis
d05e4021d0 Renamed WProgram.h to Arduino.h. 2011-03-01 19:52:13 -05:00
David A. Mellis
b0b909ed2b Adding warning about multiple open files. 2010-12-22 17:04:34 -06: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
28d1b15283 Removing sdfatlib examples. 2010-12-11 16:11:27 -05:00
David A. Mellis
0e7b315842 Updating SD library keywords. 2010-12-11 15:41:58 -05:00
David A. Mellis
b89d2d97bc Updating (truncating) SD card readme. 2010-12-11 15:32:55 -05:00
Tom Igoe
4d3b263738 bug fixes to SD library examples 2010-12-03 15:29:56 -05:00
Tom Igoe
86e3d4ad7a updated SD examples with new constants, and commented them 2010-12-03 10:35:17 -05:00
David A. Mellis
d98d31eb1a Redoing 448222e4b6 without all the extra files.
Adds toInt() to String, WCharacter.h (from Wiring), and an SD Datalogger example.
2010-11-29 15:20:30 -05:00
David A. Mellis
920212ee05 Revert "added toInt() function to WString".
This reverts commit 448222e4b6.
2010-11-29 15:14:10 -05:00
Tom Igoe
448222e4b6 added toInt() function to WString 2010-11-29 11:31:00 -05:00
David A. Mellis
a78fa1d2be Renaming constants: SD_MODE -> FILE_MODE 2010-11-28 13:56:22 -06:00
David A. Mellis
ff89afb606 Replacing boolean parameters to SD.open() with SD_MODE constants. 2010-11-28 12:43:13 -06:00
David A. Mellis
012b4b0f0f Adding warning about leaving the hardware SS pin as an output. 2010-11-21 17:11:17 -05:00
David A. Mellis
29384e2f61 Adding SD tests, removing clean.bat. 2010-11-21 13:31:58 -05:00
David A. Mellis
a6f3f27d35 Adding SD.rmdir(). Returning success / failure from SD functions. 2010-11-20 14:49:20 -05:00
David A. Mellis
d05a57af19 Using sdfatlib CS pin defaults. SD.begin() returns success or failure. 2010-11-20 13:50:45 -05:00
David A. Mellis
6f0ea10600 Adding SD.remove(file) and another example. 2010-11-20 13:07:59 -05:00
David A. Mellis
5af5619df4 SD library updates. Renaming makeDir() to mkdir(). Replacing example. Adding keywords.txt. 2010-11-20 12:31:49 -05: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
6788eea3b8 Further SD API cleanup.
Making file and fileOpenMode private.  Removing old functions.
2010-11-20 11:01:38 -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
David A. Mellis
6cbb866123 Adding CS pin parameter to SD.begin(). Defaults to 4 (for Arduino Ethernet Shield).
http://code.google.com/p/arduino/issues/detail?id=400
2010-11-14 11:48:21 -05:00
David A. Mellis
8629da8243 Removing execute permissions from SD library files. 2010-11-13 14:34:49 -05:00
David A. Mellis
6e449d7f5b Combining MemoryCard and SdFat libraries into SD library.
Defaulting to CS pin 4 (for Arduino Ethernet Shield).  Holding the SS pin high (for disabling W5100 on the Ethernet Shield).
2010-11-13 14:01:37 -05:00