Reference.SoftwareSerialBegin History

Hide minor edits - Show changes to markup

June 04, 2010, at 11:33 AM by Equipo Traduccion -
Changed lines 15-16 from:

Example

[@// include the SoftwareSerial library so you can use its functions:

to:

Ejemplo

[@// incluye la librería SoftwareSerial library para poder usar sus funciones:

Changed lines 22-24 from:

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

to:

// configura un nuevo puerto serie SoftwareSerial miSerial = SoftwareSerial(rxPin, txPin);

Changed line 26 from:
  // define pin modes for tx, rx:
to:
  // configura el modo de los pines para tx, rx:
Changed lines 29-30 from:
  // set the data rate for the SoftwareSerial port
  mySerial.begin(9600);
to:
  // configura el ratio de datos para el puerto SoftwareSerial
  miSerial.begin(9600);
Changed lines 38-39 from:

See also

to:

Ver también

June 04, 2010, at 11:31 AM by Equipo Traduccion -
Changed lines 1-14 from:

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

to:

SoftwareSerial: begin(velocidad)

Descripción

Configura la velocidad (ratiod de baudios) para la comunicación serie. Utilizar velocidades superiores a 9600 baudios dará lugar a comunicaciones fallidas.

Parametros

velocidad: el ratio de baudios (long)

Retorno

ninguno

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:
to:
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:
  1. 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:
to:
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

Share