energia/Energia — pull request #86 by RickKimball (2012-07-18 23:51:29+00:00)
Title: Issue 60

This fix provides a Serial object that is available for all chips. For processors without a hardware UART, TimerSerial is used instead of HardwareSerial. Energia.h was changed to selectively include the right header based on the __MSP430_HAS_USCI__ define. TimerSerial.begin() was changed to allow for a baud rate argument. It will still work without passing one, defaulting to a define in TimerSerial.h. On processors running at 1MHz, the maximum baud rate is automatically limited to 4800 baud. The speed seems slow enough to allow the send and recv ISR handlers time to complete their tasks.