Commit Graph

7 Commits

Author SHA1 Message Date
David A. Mellis 9cb0caa376 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 235fb018b4 Added Printable interface class to allow printing of classes such as IPAddress 2011-06-04 09:19:17 -04:00
David A. Mellis e7dea10170 Adding F("foo") syntax for flash strings. 2011-03-27 15:06:20 -04:00
David A. Mellis a3ac40f128 Removing BYTE keyword (use Serial.write() instead). 2011-02-26 13:58:03 -05: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 42e5964395 Adding precision parameter for printing of floats / doubles. Restructured the print() and println() functions a bit. 2009-12-25 20:20:27 +00:00
David A. Mellis c312943ef4 Improving third-party hardware support:
- 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-21 23:23:43 +00:00