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

19 Commits

Author SHA1 Message Date
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