Commit Graph

14 Commits

Author SHA1 Message Date
David A. Mellis d656974cee Redoing 448222e4b65e0cf44dfc0c494f7f76901f1fabea 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 393ca89a01 Revert "added toInt() function to WString".
This reverts commit 448222e4b65e0cf44dfc0c494f7f76901f1fabea.
2010-11-29 15:14:10 -05:00
Tom Igoe 711f4f95a0 added toInt() function to WString 2010-11-29 11:31:00 -05:00
David A. Mellis 3616c3aac6 Changing String::toCharArray() and getBytes() to accept a buffer, rather than return one. That way they don't expose the internal representation of the String class, allowing future optimization. Thanks to Paul Stoffregen. 2010-08-28 10:23:54 +00:00
David A. Mellis b616c157ae Adding some basic error checking to the String class (i.e. checking for a non-null buffer before modifying its contents). 2010-08-18 21:39:28 +00:00
David A. Mellis 2aa9853c59 No longer requiring WProgram.h for Print / Stream classes (replaced Arduino-specific type names in String). 2010-08-06 01:23:19 +00:00
Tom Igoe 0b56973766 added more String examples 2010-07-27 22:59:18 +00:00
David A. Mellis 7d91fb31c2 Reverting changes to String class and modifying to allow + and += to work on more types. 2010-07-27 14:20:56 +00:00
Tom Igoe 8a48e1bc5e removed append() from String library 2010-07-27 10:18:04 +00:00
Tom Igoe e8a2b8421d checked in Xiaoyang Feng's changes to String library 2010-07-27 10:09:09 +00:00
Tom Igoe c54f647f0e Checked in Xiaoyang's changes to String library 2010-07-27 10:06:49 +00:00
David A. Mellis a1a3978adb Adding support for printing Strings to the Print class. 2010-07-04 23:22:34 +00:00
David A. Mellis 09315f91a9 Modifying String from new/delete to malloc()/free(). Also #include'ing WString.h from WProgram.h. 2010-07-04 16:36:52 +00:00
David A. Mellis 1d2fc4fb33 Adding WString.h and WString.cpp straight from Wiring (r. 726). Won't actually work yet. 2010-07-04 16:27:23 +00:00