December 02, 2012, at 12:18 PM
by Cristian -Vacuum- Maglie -
Changed lines 7-8 from:
Sets the data rate in bits per second (baud) for serial data transmission. For communicating with the computer, use one of these rates: 300, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, or 115200. You can, however, specify other rates - for example, to communicate over pins 0 and 1 with a component that requires a particular baud rate.
to:
Sets the data rate in bits per second (baud) for serial data transmission. For communicating with the computer, use one of these rates: 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, or 115200. You can, however, specify other rates - for example, to communicate over pins 0 and 1 with a component that requires a particular baud rate.
October 01, 2012, at 11:39 AM
by Scott Fitzgerald -
Added lines 9-10:
An optional second argument configures the data, parity, and stop bits. The default is 8 data bits, no parity, one stop bit.
Changed lines 12-13 from:
to:
Serial.begin(speed)\\
Serial.begin(speed, config)
Changed lines 18-19 from:
to:
Serial3.begin(speed) \\
Serial1.begin(speed, config) \\
Serial2.begin(speed, config) \\
Serial3.begin(speed, config)
Changed lines 25-26 from:
speed: in bits per second (baud) - ''long''
to:
speed: in bits per second (baud) - ''long''\\
config: sets data, parity, and stop bits. Valid values are :
*SERIAL_5N1
*SERIAL_6N1
*SERIAL_7N1
*SERIAL_8N1 (the default)
*SERIAL_5N2
*SERIAL_6N2
*SERIAL_7N2
*SERIAL_8N2
*SERIAL_5E1
*SERIAL_6E1
*SERIAL_7E1
*SERIAL_8E1
*SERIAL_5E2
*SERIAL_6E2
*SERIAL_7E2
*SERIAL_8E2
*SERIAL_5O1
*SERIAL_6O1
*SERIAL_7O1
*SERIAL_8O1
*SERIAL_5O2
*SERIAL_6O2
*SERIAL_7O2
*SERIAL_8O2
January 30, 2012, at 11:15 AM
by Scott Fitzgerald -
Changed lines 60-63 from:
to:
(:include Reference/SerialSeeAlsoIncludes:)\\
November 29, 2011, at 09:12 PM
by Scott Fitzgerald -
Changed line 27 from:
to:
(:source lang=arduino tabwidth=4:)
Changed lines 33-34 from:
to:
Changed line 37 from:
to:
(:source lang=arduino tabwidth=4:)
Changed lines 55-56 from:
to:
February 01, 2010, at 11:10 AM
by David A. Mellis -
Changed lines 60-66 from:
* [[(Reference.)Serial.available]]()
* [[(Reference.)Serial.read]]()
* [[(Reference.)Serial.print]](data)
* [[(Reference.)Serial.println]](data)
to:
February 01, 2010, at 11:07 AM
by David A. Mellis -
Changed lines 1-2 from:
!!Serial.begin(int speed)
to:
[[Reference/Serial]]
!!begin()
Added lines 9-16:
!!!!Syntax
Serial.begin(speed)
''Arduino Mega only:'' \\
Serial1.begin(speed) \\
Serial2.begin(speed) \\
Serial3.begin(speed)
Changed lines 19-20 from:
long '''datarate''', in bits per second (baud)
to:
speed: in bits per second (baud) - ''long''
August 18, 2009, at 09:33 AM
by Paul Badger -
Changed lines 9-10 from:
int '''datarate''', in bits per second (baud)
to:
long '''datarate''', in bits per second (baud)
May 22, 2009, at 04:41 AM
by David A. Mellis -
Added lines 21-22:
Added line 44:
May 21, 2009, at 05:19 PM
by Tom Igoe -
Changed lines 26-29 from:
// Arduino Mega using all four of its Serial ports (Serial, Serial1, Serial2, Serial3), with different baud rates
to:
// Arduino Mega using all four of its Serial ports
// (Serial, Serial1, Serial2, Serial3),
// with different baud rates:
May 21, 2009, at 05:19 PM
by Tom Igoe -
Added lines 23-42:
'''Arduino Mega example:'''
[@
// Arduino Mega using all four of its Serial ports (Serial, Serial1, Serial2, Serial3), with different baud rates
void setup(){
Serial.begin(9600);
Serial1.begin(38400);
Serial2.begin(19200);
Serial3.begin(4800);
Serial.println("Hello Computer");
Serial1.println("Hello Serial 1");
Serial2.println("Hello Serial 2");
Serial3.println("Hello Serial 3");
}
@]
''Thanks to Jeff Gray for the mega example''
January 18, 2007, at 03:34 AM
by David A. Mellis - adding serial rates (I hope these are correct).
Changed lines 5-6 from:
Sets the data rate in bits per second for serial data transmission.
to:
Sets the data rate in bits per second (baud) for serial data transmission. For communicating with the computer, use one of these rates: 300, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, or 115200. You can, however, specify other rates - for example, to communicate over pins 0 and 1 with a component that requires a particular baud rate.
March 28, 2006, at 04:07 AM
by David A. Mellis - Added (baud) after "bits per second"
Changed lines 9-10 from:
int '''datarate''', in bits per second.
to:
int '''datarate''', in bits per second (baud)
March 27, 2006, at 01:57 PM
by Tom Igoe -
Changed lines 24-26 from:
to:
* [[(Reference.)Serial.available]]()
* [[(Reference.)Serial.read]]()
* [[(Reference.)Serial.print]](data)
* [[(Reference.)Serial.println]](data)
March 27, 2006, at 01:26 PM
by Tom Igoe -
Changed lines 1-2 from:
to:
!!Serial.begin(int speed)
Deleted lines 14-17:
Added lines 23-26:
March 27, 2006, at 01:25 PM
by Tom Igoe -
Changed lines 1-2 from:
to:
March 27, 2006, at 01:18 PM
by Tom Igoe -
March 27, 2006, at 01:18 PM
by Tom Igoe -
Changed line 27 from:
[[Main.HomePage | Reference Home]]
to:
[[Reference.HomePage | Reference Home]]
March 27, 2006, at 01:18 PM
by Tom Igoe -
Changed line 27 from:
[[HomePage | Reference Home]]
to:
[[Main.HomePage | Reference Home]]
March 27, 2006, at 01:17 PM
by Tom Igoe -
Changed lines 1-6 from:
Serial.begin(speed);
sets the data rate for serial data transmission.
Example:
to:
!!int serialRead()
!!!!Description
Sets the data rate in bits per second for serial data transmission.
!!!!Parameters
int '''datarate''', in bits per second.
!!!!Returns
nothing
!!!!See also
!!!Example:
Changed lines 25-27 from:
to:
@]
[[HomePage | Reference Home]]
March 27, 2006, at 01:15 PM
by Tom Igoe -
Added lines 1-11:
Serial.begin(speed);
sets the data rate for serial data transmission.
Example:
[@
void setup() {
Serial.begin(9600); // opens serial port, sets data rate to 9600 bps
}
@]