Commit Graph

8 Commits

Author SHA1 Message Date
David A. Mellis ca97a74b43 Implemented serial transmit buffering.
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
2011-03-05 14:17:26 -05:00
David A. Mellis 0db7740a45 Making HardwareSerial tests register-based, not CPU-based.
Mark Sproul's patches, via Christian Maglie.
http://code.google.com/p/arduino/issues/detail?id=315
2010-10-17 13:36:02 -04:00
David A. Mellis ce1f3f8b89 1280 -> 1280/2560. 2010-09-08 22:33:33 +00:00
David A. Mellis c7eedf5fa5 changing available() to return an int (because the Ethernet Client class or another stream might need more than 255 bytes). 2010-08-02 22:23:48 +00:00
David A. Mellis d7c2a6f0f9 Adding a peek() function to Stream and HardwareSerial (Serial). 2010-07-04 23:31:55 +00:00
David A. Mellis 35f3178dfa Adding a basic Stream interface and modifying HardwareSerial to inherit from it. 2010-05-28 22:41:03 +00:00
David A. Mellis fb9e5eea65 Adding Serial.end(). 2009-12-23 00:00:17 +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