1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00
Arduino/hardware/arduino
David A. Mellis db64d2fc32 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
..
bootloaders Fix to optiboot infinite loop problem. 2011-01-15 13:29:08 +00:00
cores/arduino Fixing 300 baud communication for serial. 2011-05-14 12:25:39 -04:00
firmwares Minor ATmega8U2 firmware update and new .hex files. 2010-12-04 14:28:56 -05:00
boards.txt Adding Arduino Mega 2560 board entry. 2010-09-24 10:17:01 -04:00
programmers.txt Moving things around. 2009-11-07 17:05:21 +00:00