aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HardwareSerial.h
AgeCommit message (Collapse)Author
2011-09-07Changing to a simpler mental model for serialEvent (Paul Stoffregen).David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=626
2011-08-31Moving serialEvent() calls from RX interrupts to main for() loop (after loop()).David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=584
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-05-12Small optimization in HardwareSerial.David A. Mellis
begin(long) -> begin(unsigned long) Conflicts: hardware/arduino/cores/arduino/HardwareSerial.h
2011-03-05Implemented serial transmit buffering.David A. Mellis
Now Serial.write() places characters in the transmit buffer, and the data register empty interrupt reads and transmit them. Based loosely on the implementation here: ftp://wookey.org.uk/arduino. http://code.google.com/p/arduino/issues/detail?id=262
2010-10-17Making HardwareSerial tests register-based, not CPU-based.David A. Mellis
Mark Sproul's patches, via Christian Maglie. http://code.google.com/p/arduino/issues/detail?id=315
2010-09-081280 -> 1280/2560.David A. Mellis
2010-08-02changing available() to return an int (because the Ethernet Client class or ↵David A. Mellis
another stream might need more than 255 bytes).
2010-07-04Adding a peek() function to Stream and HardwareSerial (Serial).David A. Mellis
2010-05-28Adding a basic Stream interface and modifying HardwareSerial to inherit from it.David A. Mellis
2009-12-23Adding Serial.end().David A. Mellis
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-07-12Clearing the U2Xn bit in Serial.begin() (because it is set on the Pro / Pro ↵David A. Mellis
Mini 328). Fixing some indentation.
2009-06-01First integration of the Arduino code in Processing 5503: PreProcessor and ↵David A. Mellis
Compiler have been integrated with changes to the Sketch. Compilation still has problems (Thread error on success, and can't handle non-pde files in a sketch). Modified the Mac OS X make.sh to copy the hardware, avr tools, and example over. Removing some of the antlr stuff. Disabling the Commander (command-line execution) for now. Added Library, LibraryManager, and Target. Added support for prefixed preferences (e.g. for boards and programmers).