aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Print.h
AgeCommit message (Collapse)Author
2012-06-03Check for NULL pointer in Print.write().David A. Mellis
Otherwise, trying to print(NULL) or write(NULL) could print a random character. http://code.google.com/p/arduino/issues/detail?id=941
2011-09-07Making Print::write(char *) non-virtual.David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=607
2011-08-31Renaming writeError() to getWriteError() in Print (and Stream and friends).David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=608
2011-08-26Moving write errors out of return value into separate API methods.David A. Mellis
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-26Changing from long to ssize_t (int) for write(), print(), println() return.David A. Mellis
2011-08-23write(), print(), and println() now return number of bytes written.David A. Mellis
The type is long, and negative values indicate errors. Needs more testing. http://code.google.com/p/arduino/issues/detail?id=551
2011-06-04Added Printable interface class to allow printing of classes such as IPAddressDavid A. Mellis
2011-03-27Adding F("foo") syntax for flash strings.David A. Mellis
2011-02-26Removing BYTE keyword (use Serial.write() instead).David A. Mellis
2010-07-04Adding support for printing Strings to the Print class.David A. Mellis
2009-12-25Adding precision parameter for printing of floats / doubles. Restructured ↵David A. Mellis
the print() and println() functions a bit.
2009-11-21Improving third-party hardware support:David A. Mellis
- moving back to multple cores per platform - using target instead of platform - moving per-board and per-programmer preferences out of Preferences.java and into a new Target class - adding a new "target" preference - support for platform:value values in board preferences for bootloader path and core - XXX: need to support platform:value syntax for board upload.using preferences.
2009-11-07Moving things around.David A. Mellis
2009-04-26Adding write(str) and write(buf, size) methods to Print class and Ethernet ↵David A. Mellis
library Client and Server classes. This allows sending a whole string or buffer at once, reducing the number of ethernet packets.
2008-11-26Adding support for printing floats and doubles (defaulting to 2 decimal places)David A. Mellis
2008-05-07Changing Print class to use regular virtual write() function (instead of my hackDavid A. Mellis
ed together version).
2008-04-18Adding the Print class.David A. Mellis