Serial.Begin History

Hide minor edits - Show changes to markup

May 31, 2010, at 06:42 PM by Equipo Traduccion -
Changed lines 10-12 from:

Sintáxis

Serial.begin(velocidad)

to:

Sintaxis

Serial.begin(speed)

Changed lines 14-17 from:

Serial1.begin(velocidad)
Serial2.begin(velocidad)
Serial3.begin(velocidad)

to:

Serial1.begin(speed)
Serial2.begin(speed)
Serial3.begin(speed)

Changed lines 20-23 from:

velocidad: en bits por segundo (baudios) - long

Retorna

to:

speed: Velocidad en bits por segundo (baudios) - long

Devuelve

Changed line 60 from:

Véase también

to:

Ver también

May 31, 2010, at 06:34 PM by Equipo Traduccion -
Changed line 60 from:

Véa también

to:

Véase también

May 31, 2010, at 06:29 PM by Equipo Traduccion -
Changed lines 5-26 from:

Description

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.

Syntax

Serial.begin(speed)

Arduino Mega only:
Serial1.begin(speed)
Serial2.begin(speed)
Serial3.begin(speed)

Parameters

speed: in bits per second (baud) - long

Returns

nothing

Example:

to:

Descripción

Establece la velocidad de datos en bits por segundo (baudios) para la transmisión de datos en serie. Para comunicarse con el computador, utilice una de estas velocidades: 300, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600 o 115200. Sin embargo, puedes especificar otras velocidades - por ejemplo, para comunicarte a través de los pines 0 y 1 con un componente que requiere una velocidad de transmisión en particular.

Sintáxis

Serial.begin(velocidad)

Solamente en Arduino Mega:
Serial1.begin(velocidad)
Serial2.begin(velocidad)
Serial3.begin(velocidad)

Parámetros

velocidad: en bits por segundo (baudios) - long

Retorna

nada

Ejemplo:

Changed line 30 from:
	Serial.begin(9600);	// opens serial port, sets data rate to 9600 bps
to:
	Serial.begin(9600);	// abre el puerto serie y establece la velocidad en 9600 bps
Changed lines 36-37 from:

Arduino Mega example:

to:

Ejemplo para Arduino Mega:

Changed line 39 from:

// Arduino Mega using all four of its Serial ports

to:

// Arduino Mega usando sus 4 puertos serie

Changed lines 41-42 from:

// with different baud rates:

to:

// con diferentes velocidades de datos:

Changed lines 49-52 from:
  Serial.println("Hello Computer");
  Serial1.println("Hello Serial 1");
  Serial2.println("Hello Serial 2");
  Serial3.println("Hello Serial 3");
to:
  Serial.println("Hola ordenador");
  Serial1.println("Hola Serial 1");
  Serial2.println("Hola Serial 2");
  Serial3.println("Hola Serial 3");
Changed lines 58-60 from:

Thanks to Jeff Gray for the mega example

See also

to:

Gracias a Jeff Gray por el ejemplo

Véa también

February 01, 2010, at 05:10 PM by David A. Mellis -
Changed lines 60-66 from:
to:
February 01, 2010, at 05:07 PM by David A. Mellis -
Changed lines 1-2 from:

Serial.begin(int speed)

to:

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 03:33 PM 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 10:41 AM by David A. Mellis -
Added lines 21-22:

void loop() {}

Added line 44:

void loop() {}

May 21, 2009, at 11: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 11: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 09: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 11: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 08:57 PM by Tom Igoe -
Changed lines 24-26 from:

to:
March 27, 2006, at 08:26 PM by Tom Igoe -
Changed lines 1-2 from:

int Serial.read()

to:

Serial.begin(int speed)

Deleted lines 14-17:

See also

Added lines 23-26:

See also

March 27, 2006, at 08:25 PM by Tom Igoe -
Changed lines 1-2 from:

int serialRead()

to:

int Serial.read()

March 27, 2006, at 08:18 PM by Tom Igoe -
March 27, 2006, at 08:18 PM by Tom Igoe -
Changed line 27 from:
to:
March 27, 2006, at 08:18 PM by Tom Igoe -
Changed line 27 from:
to:
March 27, 2006, at 08: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:
March 27, 2006, at 08: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
}

Share