

If you must must emulate a serial port using If you do use SoftwareSerial, the transmit pin is not set to output mode automatically. SoftwareSerial does not support available(), and can only receive data when read() isĬalled, which severly limits its usefulness for many applications. On Teensy, the maximum working baud rate is 19200. SoftwareSerial has poor timing, with incorrect hard-coded assumptions about the Timer0 (used for millis, delay, micros) to any other libraries in use, can cause corrupted Prior to Arduino 1.0, SoftwareSerial does not handle interrupts properly. PleaseĪrduino 0023 and Earlier Do Not Use SoftwareSerial However, NewSoftSerial was renamed to SoftwareSerial. The old, buggy SoftwareSerial was replaced by Mikal Hart's The real hardware UART serial port provides much better performance Teensy does have a hardware UART serial port available. This is necessary on Arduino Uno,īecause there is no unused hardware UART serial port. Or NewSoftSerial to communicate with serial devices, like GPS Many projects and website may advise you to use SoftwareSerial Programming and sending messages to the Arduino Serial Monitor. On Arduino boards, the main hardware serial port is used for On Teensy, the hardware UART serial port completely separate

Used, if possible, before considering SoftwareSerial. The hardware UART Serial port should always be SoftwareSerial Library Download: SoftwareSerial is included with Arduino
