Reference.SoftwareSerialBegin History

Hide minor edits - Show changes to output

December 02, 2012, at 06:40 PM by Cristian -Vacuum- Maglie -
Changed lines 5-6 from:
Sets the speed (baud rate) for the serial communication. Supported baud rates are 300, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 31250, 38400, 57600, and 115200.
to:
Sets the speed (baud rate) for the serial communication. Supported baud rates are 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 31250, 38400, 57600, and 115200.
May 25, 2012, at 03:43 PM by Tom Igoe -
Changed lines 20-22 from:
#define rxPin 2
#define txPin 3
to:
#define rxPin 10
#define txPin 11
January 07, 2012, at 06:35 PM by Tom Igoe -
Changed lines 16-17 from:
[@// include the SoftwareSerial library so you can use its functions:
to:
(:source lang=arduino tabwidth=4:)
// include the SoftwareSerial library so you can use its functions:
Changed lines 37-38 from:
@]
to:
(:sourceend:)
December 24, 2011, at 04:06 PM by David A. Mellis -
Changed lines 5-6 from:
Sets the speed (baud rate) for the serial communication. Using speeds higher than 9600 baud will result in faulty communication.
to:
Sets the speed (baud rate) for the serial communication. Supported baud rates are 300, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 31250, 38400, 57600, and 115200.
May 17, 2007, at 05:04 PM by David A. Mellis -
Changed lines 1-5 from:

''SoftwareSerial''

!!begin(speed)
to:
!!SoftwareSerial: begin(speed)
May 17, 2007, at 05:02 PM by David A. Mellis -
Added line 1:
May 17, 2007, at 05:02 PM by David A. Mellis -
Changed lines 1-2 from:
!!SoftwareSerial: begin(speed)
to:
''SoftwareSerial''

!!begin(speed)
May 17, 2007, at 05:02 PM by David A. Mellis -
Changed lines 41-43 from:
* [[SoftwareSerialRead | SoftwareSerial.read]]()
* [[SoftwareSerialPrint | SoftwareSerial.print]]()
* [[SoftwareSerialPrintln | SoftwareSerial.println]]()
to:
* [[SoftwareSerialRead | read]]()
* [[SoftwareSerialPrint | print]]()
* [[SoftwareSerialPrintln | println]]()
May 17, 2007, at 05:02 PM by David A. Mellis -
Changed lines 1-2 from:
!!SoftwareSerial.begin(speed)
to:
!!SoftwareSerial: begin(speed)
April 29, 2007, at 12:11 PM by David A. Mellis -
Changed lines 21-22 from:
#define ledPin 13
to:
Changed lines 24-25 from:
byte pinState = 0;
to:
Changed line 26 from:
// define pin modes for tx, rx, led pins:
to:
// define pin modes for tx, rx:
Deleted line 28:
pinMode(ledPin, OUTPUT);
Changed lines 31-32 from:
}@]
to:
}

void loop() {
// ...
}
@]
April 26, 2007, at 07:13 PM by Paul Badger -
Changed lines 16-23 from:
[@SoftwareSerial serial(6, 7);

void setup()
{
serial.begin(9600);
}
@]
to:
[@// include the SoftwareSerial library so you can use its functions:
#include <SoftwareSerial.h>

#define rxPin 2
#define txPin 3
#define ledPin 13

// set up a new serial port
SoftwareSerial mySerial = SoftwareSerial(rxPin, txPin);
byte pinState = 0;

void setup() {
// define pin modes for tx, rx, led pins:
pinMode(rxPin, INPUT);
pinMode(txPin, OUTPUT);
pinMode(ledPin, OUTPUT);
// set the data rate for the SoftwareSerial port
mySerial.begin(9600);
}@]
December 23, 2006, at 05:02 AM by David A. Mellis -
Changed lines 27-29 from:
* [[SoftwareSerialRead | read]]()
* [[SoftwareSerialPrint | print]]()
* [[SoftwareSerialPrintln | println]]()
to:
* [[SoftwareSerialRead | SoftwareSerial.read]]()
* [[SoftwareSerialPrint | SoftwareSerial.print]]()
* [[SoftwareSerialPrintln | SoftwareSerial.println]]()
December 23, 2006, at 05:00 AM by David A. Mellis -
Added lines 1-29:
!!SoftwareSerial.begin(speed)

!!!!Description

Sets the speed (baud rate) for the serial communication. Using speeds higher than 9600 baud will result in faulty communication.

!!!!Parameters

speed: the baud rate (''long'')

!!!!Returns

none

!!!!Example
[@SoftwareSerial serial(6, 7);

void setup()
{
serial.begin(9600);
}
@]

!!!!See also

* [[SoftwareSerialConstructor | SoftwareSerial]]()
* [[SoftwareSerialRead | read]]()
* [[SoftwareSerialPrint | print]]()
* [[SoftwareSerialPrintln | println]]()

Share