ArduinoCore-avr/cores/arduino
David A. Mellis f25e71c3c1 Fixing 300 baud communication for serial.
Because UBBR is only 12 bits, we were overflowing it at 300 baud because of the use of the U2X bit.  Now we turn off U2X if it would yield a UBBR value that would overflow.

Note that this breaks 300 baud communication with the computer on the Uno and Mega 2560 because the 8U2 USB-serial firmware has this same bug (and previously they cancelled each other out).  Since, however, it seems more likely that people will need to use 300 baud to communicate with other (legacy) hardware than with the computer, I'm making this change.  Issue for 8U2 firmware bug: http://code.google.com/p/arduino/issues/detail?id=542

http://code.google.com/p/arduino/issues/detail?id=522
2011-05-14 12:25:39 -04:00
..
HardwareSerial.cpp Fixing 300 baud communication for serial. 2011-05-14 12:25:39 -04:00
HardwareSerial.h Small optimization in HardwareSerial. 2011-02-25 18:36:46 -05:00
Print.cpp Fixing warnings (David H. Lynch Jr). 2011-03-03 22:56:20 -05:00
Print.h Adding support for printing Strings to the Print class. 2010-07-04 23:22:34 +00:00
Stream.h SD File object implements Stream. 2010-11-20 11:45:05 -05:00
Tone.cpp Fixing bug w/ subsequent calls to tone(). 2010-11-11 23:57:12 -05:00
WCharacter.h Replacing custom String.toInt() function with a call to atol(). 2010-12-03 23:12:41 -05:00
WConstants.h Improving third-party hardware support: 2009-11-21 23:23:43 +00:00
WInterrupts.c Making attachInterrupt() check registers, not CPUs. 2010-10-17 14:05:46 -04:00
WMath.cpp Improving third-party hardware support: 2009-11-21 23:23:43 +00:00
WProgram.h Replacing custom String.toInt() function with a call to atol(). 2010-12-03 23:12:41 -05:00
WString.cpp Changing String append to use realloc(); thanks to Paul Stoffregen. 2010-12-11 15:22:07 -05:00
WString.h Fixing warnings (David H. Lynch Jr). 2011-03-03 22:56:20 -05:00
binary.h Improving third-party hardware support: 2009-11-21 23:23:43 +00:00
main.cpp Improving third-party hardware support: 2009-11-21 23:23:43 +00:00
pins_arduino.c Fixing warnings (David H. Lynch Jr). 2011-03-03 22:56:20 -05:00
pins_arduino.h 1280 -> 1280/2560. 2010-09-08 22:33:33 +00:00
wiring.c Modifying basic functions (digital and analog, read and write) to use register-based ifdefs, not cpu-based. 2010-10-17 17:55:53 -04:00
wiring.h Redoing 448222e4b65e0cf44dfc0c494f7f76901f1fabea without all the extra files. 2010-11-29 15:20:30 -05:00
wiring_analog.c Modifying basic functions (digital and analog, read and write) to use register-based ifdefs, not cpu-based. 2010-10-17 17:55:53 -04:00
wiring_digital.c Modifying basic functions (digital and analog, read and write) to use register-based ifdefs, not cpu-based. 2010-10-17 17:55:53 -04:00
wiring_private.h 1280 -> 1280/2560. 2010-09-08 22:33:33 +00:00
wiring_pulse.c pulseIn() now times out while measuring the pulse, not just while waiting for it to start. 2010-11-22 23:33:59 -05:00
wiring_shift.c Adding shiftIn() from Wiring (no count or delaytime though). 2010-08-11 22:59:00 +00:00