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

11 Commits

Author SHA1 Message Date
David A. Mellis
3dfc2c6311 Serial.print() -> Serial.write() in SD SerialPrint_P function.
http://code.google.com/p/arduino/issues/detail?id=759
2012-02-03 17:32:54 -05:00
David A. Mellis
726acf77de Fixing SD ls function (Paul Stoffregen).
http://code.google.com/p/arduino/issues/detail?id=700
2011-10-29 17:31:04 -04:00
David A. Mellis
ca671fdc05 Fixing more warnings (Paul Stoffregen). 2011-10-10 11:28:44 -04:00
David A. Mellis
b73cf39d94 Moving write errors out of return value into separate API methods.
write(), print(), println() now return size_t (and don't use negative values to signal errors).
Print adds writeError() for checking for write errors, clearWriteError() to reset the flag to false, and a protected setWriteError() for signalling errors.

http://code.google.com/p/arduino/issues/detail?id=598
2011-08-26 16:08:14 -04:00
David A. Mellis
929597375b Changing from long to ssize_t (int) for write(), print(), println() return. 2011-08-26 14:20:41 -04:00
David A. Mellis
8059abe581 write(), print(), and println() now return number of bytes written.
The type is long, and negative values indicate errors.  Needs more testing.
http://code.google.com/p/arduino/issues/detail?id=551
2011-08-23 19:12:03 -04:00
David A. Mellis
d05e4021d0 Renamed WProgram.h to Arduino.h. 2011-03-01 19:52:13 -05:00
David A. Mellis
28d1b15283 Removing sdfatlib examples. 2010-12-11 16:11:27 -05:00
David A. Mellis
29384e2f61 Adding SD tests, removing clean.bat. 2010-11-21 13:31:58 -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