Commit Graph

8 Commits

Author SHA1 Message Date
David A. Mellis f684321850 Fixing bug in LiquidCrystal::setCursor() for row == numrows.
http://code.google.com/p/arduino/issues/detail?id=671
2011-10-10 12:35:36 -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
Joshua Nussbaum bcefe3c44c 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 07a5160f3b 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 3075c8e4fd Moving libraries out of arduino platform / core directory and to top-level. 2009-11-07 17:54:56 +00:00