Commit Graph

32 Commits

Author SHA1 Message Date
David A. Mellis
b90a84c763 Making Print::write(char *) non-virtual.
http://code.google.com/p/arduino/issues/detail?id=607
2011-09-07 18:41:05 -04:00
Tom Igoe
6530a3b218 Changed all .pde examples to .ino
All examples in /build/shared/examples/ and /libraries/ have had their
extensions changed to .ino
2011-08-30 15:33:32 -04:00
David A. Mellis
856e5dcfa4 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
39582bc7a9 Changing from long to ssize_t (int) for write(), print(), println() return. 2011-08-26 14:20:41 -04:00
David A. Mellis
46ff301e25 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
Tom Igoe
f3ea1afd04 Added example to demonstrate LiquidCrystal chreateChar() function 2011-05-12 17:03:07 -04:00
David A. Mellis
e152e12bf9 Renamed WProgram.h to Arduino.h. 2011-03-01 19:52:13 -05:00
David A. Mellis
eecd3b3f43 Modifying examples to use Serial.write() instead of Serial.print(BYTE). 2011-02-26 13:57:41 -05:00
David A. Mellis
a5ac9a7aa7 Merge branch 'master' of https://github.com/joshnuss/Arduino 2010-11-27 12:01:35 -06:00
Tom Igoe
a2ce323bae fixed comments in LIquidCrystal examples per issue 402 2010-11-22 09:36:23 -05:00
Joshua Nussbaum
8ea7c002c5 When initializing LCD, comment specified "8-bit" mode when it should day "4 bit mode" 2010-10-01 00:26:40 -07:00
David A. Mellis
338f67fa3c No longer requiring WProgram.h for Print / Stream classes (replaced Arduino-specific type names in String). 2010-08-06 01:23:19 +00:00
David A. Mellis
6d2658c036 Adding #include <WProgram.h>. 2010-08-02 22:22:51 +00:00
Tom Igoe
67133486a3 Added public domain notice 2010-02-24 03:49:03 +00:00
Tom Igoe
cd518fbf5c Added public domain notice 2010-02-24 03:48:54 +00:00
Tom Igoe
e2e448b49e Added public domain notice 2010-02-24 03:48:44 +00:00
Tom Igoe
20b258275d Added public domain notice 2010-02-24 03:48:43 +00:00
Tom Igoe
be83c22a9a Added public domain notice 2010-02-24 03:48:38 +00:00
Tom Igoe
04ab873ee0 Added public domain notice 2010-02-24 03:48:34 +00:00
Tom Igoe
1c469e2182 Added public domain notice 2010-02-24 03:48:28 +00:00
Tom Igoe
8bdf64511c Added public domain notice 2010-02-24 03:48:25 +00:00
Tom Igoe
19e9cbfe78 Added public domain notice 2010-02-24 03:48:20 +00:00
Tom Igoe
7c3dbd15e8 Corrected comments in LiquidCrystal examples 2010-02-08 23:36:02 +00:00
Tom Igoe
4f93a8f0aa Corrected comments in LiquidCrystal examples 2010-02-08 23:35:15 +00:00
Tom Igoe
ed899cd2dd Corrected comments in LiquidCrystal examples 2010-02-08 23:34:07 +00:00
Tom Igoe
87aa682b17 Corrected comments in LiquidCrystal examples 2010-02-08 23:31:21 +00:00
Tom Igoe
519f664f5e Corrected comments in LiquidCrystal examples 2010-02-08 23:26:07 +00:00
Tom Igoe
d02b3aa0aa Corrected comments in LiquidCrystal examples 2010-02-08 23:24:18 +00:00
Tom Igoe
6837803f21 Corrected comments in LiquidCrystal examples 2010-02-08 23:21:13 +00:00
Tom Igoe
fefdbb886b 2010-02-08 23:13:59 +00:00
David A. Mellis
c12c9a39c9 Fixing RW pin bug in LiquidCrystal library. Now using 255 to disable pin instead of -1. 2009-12-18 16:36:45 +00:00
David A. Mellis
2ab7603f31 Moving libraries out of arduino platform / core directory and to top-level. 2009-11-07 17:54:56 +00:00