Reference.SoftwareSerial History

Hide minor edits - Show changes to markup

November 06, 2014, at 10:53 AM by Arturo -
Changed lines 15-16 from:
  • Not all pins on the Leonardo support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).
to:
  • Not all pins on the Leonardo and Micro support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).
November 08, 2013, at 09:12 AM by Scott Fitzgerald -
Added lines 17-18:

If your project requires simultaneous data flows, see Paul Stoffregen's AltSoftSerial library. AltSoftSerial overcomes a number of other issues with the core SoftwareSerial, but has it's own limitations. Refer to the AltSoftSerial site for more information.

May 10, 2013, at 03:53 PM by Federico -
Changed line 14 from:
  • Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69
to:
  • Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 14, 15, 50, 51, 52, 53, A8 (62), A9 (63), A10 (64), A11 (65), A12 (66), A13 (67), A14 (68), A15 (69).
May 25, 2012, at 03:10 PM by David A. Mellis - adding Leonardo receive pins
Changed lines 15-16 from:
to:
  • Not all pins on the Leonardo support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).
February 19, 2012, at 01:23 AM by David A. Mellis -
Added line 31:
December 01, 2011, at 02:43 PM by Scott Fitzgerald -
Changed line 20 from:
to:
November 04, 2011, at 02:52 PM by Scott Fitzgerald -
Added line 35:
November 01, 2011, at 09:38 PM by Scott Fitzgerald -
Changed line 13 from:
  • If using multiple software serial ports, only one will be used at a time.
to:
  • If using multiple software serial ports, only one can receive data at a time.
Added line 34:
September 24, 2011, at 12:21 AM by Scott Fitzgerald -
Added line 29:
September 23, 2011, at 11:57 PM by Tom Igoe -
Changed lines 7-8 from:

The version of SoftwareSerial included in 1.0 and later is based on the [[http://arduiniana.org/libraries/newsoftserial/|NewSoftSerial library\\ by Mikal Hart.

to:

The version of SoftwareSerial included in 1.0 and later is based on the NewSoftSerial library by Mikal Hart.

September 23, 2011, at 11:54 PM by Tom Igoe -
Changed lines 7-8 from:

The version of SoftwareSerial included in 1.0 and later is based on the NewSoftSerial library by Mikal Hart.

to:

The version of SoftwareSerial included in 1.0 and later is based on the [[http://arduiniana.org/libraries/newsoftserial/|NewSoftSerial library\\ by Mikal Hart.

September 14, 2011, at 10:58 PM by Scott Fitzgerald -
September 14, 2011, at 07:48 PM by Scott Fitzgerald -
Changed lines 5-6 from:

The SoftwareSerial library has been developed to allow serial communication on other digital pins of the Arduino, using software to replicate the functionality (hence the name "SoftwareSerial"). It is possible to have multiple software serial ports with speeds up to 115200 bps.

to:

The SoftwareSerial library has been developed to allow serial communication on other digital pins of the Arduino, using software to replicate the functionality (hence the name "SoftwareSerial"). It is possible to have multiple software serial ports with speeds up to 115200 bps. A parameter enables inverted signaling for devices which require that protocol.

September 14, 2011, at 07:22 PM by Scott Fitzgerald -
Added line 29:
September 14, 2011, at 04:03 PM by Scott Fitzgerald -
Changed lines 11-12 from:

Tthe library has the following known limitations:

to:

The library has the following known limitations:

Changed lines 14-18 from:

SoftwareSerial appears to have some timing issues and/or software issues. Check this forum thread for discussion. Software Serial Discussion. In particular, if you are having problems using SoftwareSerial with an Atmega168 chip delete SoftwareSerial.o in your Arduino directory.

to:
  • Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69
September 12, 2011, at 05:59 PM by Scott Fitzgerald -
Changed lines 21-22 from:
to:
September 12, 2011, at 05:45 PM by Scott Fitzgerald - updates to reflect changes in library
Changed lines 5-6 from:

The SoftwareSerial library has been developed to allow serial communication on other digital pins of the Arduino, using software to replicate the functionality (hence the name "SoftwareSerial").

to:

The SoftwareSerial library has been developed to allow serial communication on other digital pins of the Arduino, using software to replicate the functionality (hence the name "SoftwareSerial"). It is possible to have multiple software serial ports with speeds up to 115200 bps.

The version of SoftwareSerial included in 1.0 and later is based on the NewSoftSerial library by Mikal Hart.

Changed lines 11-17 from:

Because it's not supported by hardware, the library has a few limitations:

  • Only speeds up to 9600 baud work
  • Serial.available() doesn't work
  • Serial.read() will wait until data arrives
  • Only data received while Serial.read() is being called will be received. Data received at other times will be lost, since the chip is not "listening".
to:

Tthe library has the following known limitations:

  • If using multiple software serial ports, only one will be used at a time.
Added line 26:
May 17, 2007, at 05:01 PM by David A. Mellis -
Changed lines 27-30 from:
to:
April 26, 2007, at 07:36 PM by Paul Badger -
Changed lines 17-19 from:

Software Serial Discussion

to:

Software Serial Discussion. In particular, if you are having problems using SoftwareSerial with an Atmega168 chip delete SoftwareSerial.o in your Arduino directory.

April 26, 2007, at 07:30 PM by Paul Badger -
Changed line 16 from:

SoftwareSerial appears to have some timing issues and/or undocumented bugs. Check this forum thread for discussion.

to:

SoftwareSerial appears to have some timing issues and/or software issues. Check this forum thread for discussion.

April 26, 2007, at 07:29 PM by Paul Badger -
Added lines 16-19:

SoftwareSerial appears to have some timing issues and/or undocumented bugs. Check this forum thread for discussion. Software Serial Discussion

Deleted line 30:
April 26, 2007, at 07:27 PM by Paul Badger -
Changed lines 16-17 from:

Here's a basic example

to:
April 26, 2007, at 07:26 PM by Paul Badger -
Changed lines 3-4 from:

The Arduino hardware has built-in support for serial communication on pins 0 and 1 (which also goes to the computer via the USB connection). This library enables serial communication on the other digital pins of the Arduino, using software to replicate the functionality (hence the name "SoftwareSerial").

to:

The Arduino hardware has built-in support for serial communication on pins 0 and 1 (which also goes to the computer via the USB connection). The native serial support happens via a piece of hardware (built into the chip) called a UART. This hardware allows the Atmega chip to receive serial communication even while working on other tasks, as long as there room in the 64 byte serial buffer.

The SoftwareSerial library has been developed to allow serial communication on other digital pins of the Arduino, using software to replicate the functionality (hence the name "SoftwareSerial").

Changed lines 14-15 from:
  • Any data received when Serial.read() isn't being called will be lost.
to:
  • Only data received while Serial.read() is being called will be received. Data received at other times will be lost, since the chip is not "listening".
April 26, 2007, at 06:55 PM by Paul Badger -
Changed lines 22-23 from:
to:
January 06, 2007, at 06:07 PM by Tom Igoe -
Added lines 14-15:

Here's a basic example

December 23, 2006, at 05:02 AM by David A. Mellis -
Changed lines 16-20 from:
to:
December 23, 2006, at 04:56 AM by David A. Mellis -
Changed lines 17-20 from:
to:
December 05, 2006, at 11:52 PM by David A. Mellis -
Changed line 16 from:
to:
December 04, 2006, at 02:29 PM by David A. Mellis -
Changed line 16 from:
to:
December 04, 2006, at 02:06 PM by David A. Mellis -
Changed lines 3-4 from:

The Arduino hardware has built-in support for serial communication on pins 0 and 1 (which also goes to the computer via the USB connection). This library enables serial communication on the other digital pins of the Arduino, using software to replicate the functionality (hence the name "SoftwareSerial"). Because it's not supported by hardware, there are a few limitations:

to:

The Arduino hardware has built-in support for serial communication on pins 0 and 1 (which also goes to the computer via the USB connection). This library enables serial communication on the other digital pins of the Arduino, using software to replicate the functionality (hence the name "SoftwareSerial").

Limitations

Because it's not supported by hardware, the library has a few limitations:

December 04, 2006, at 02:06 PM by David A. Mellis -
Changed lines 15-16 from:
to:
December 04, 2006, at 02:06 PM by David A. Mellis -
Added lines 1-15:

SoftwareSerial Library

The Arduino hardware has built-in support for serial communication on pins 0 and 1 (which also goes to the computer via the USB connection). This library enables serial communication on the other digital pins of the Arduino, using software to replicate the functionality (hence the name "SoftwareSerial"). Because it's not supported by hardware, there are a few limitations:

  • Only speeds up to 9600 baud work
  • Serial.available() doesn't work
  • Serial.read() will wait until data arrives
  • Any data received when Serial.read() isn't being called will be lost.

Functions

Share