Serial.IfSerial History

Show minor edits - Show changes to markup

April 11, 2012, at 06:02 PM by Scott Fitzgerald -
Changed lines 9-10 from:

On the Leonardo, Serial indicates wether or not the USB CDC serial connection is open. For all other serial instances, this will always returns true.

to:

On the Leonardo, if (Serial) indicates wether or not the USB CDC serial connection is open. For all other instances, including if (Serial1) on the Leonardo, this will always returns true.

Deleted line 19:
Changed lines 31-32 from:

boolean : returns true if the specified serial port is available.

to:

boolean : returns true if the specified serial port is available. This will only return false if querying the Leonardo's USB CDC serial connection before it is ready.

April 10, 2012, at 06:46 PM by Scott Fitzgerald -
Added line 20:
April 10, 2012, at 06:45 PM by Scott Fitzgerald -
Changed lines 7-10 from:

Indicates if the specified Serial port is ready. On the Leonardo, Serial indicates wether or not the USB CDC serial connection is open. For all other serial instances, this will always returns true.

This was first introduced in Arduino 1.0.1.

to:

Indicates if the specified Serial port is ready.

On the Leonardo, Serial indicates wether or not the USB CDC serial connection is open. For all other serial instances, this will always returns true.

This was introduced in Arduino 1.0.1.

Added line 14:

All boards:\\

Changed line 17 from:

Arduino Leonardo: \\

to:

Arduino Leonardo specific: \\

Changed line 20 from:

Arduino Mega: \\

to:

Arduino Mega specific: \\

April 10, 2012, at 06:44 PM by Scott Fitzgerald -
April 10, 2012, at 06:44 PM by Scott Fitzgerald -
Changed lines 7-8 from:

Indicates if the specified Serial port is ready. On the Leonardo, Serial indicates wether or not the USB CDC serial connection is open. For all other serial instances, this returns true.

to:

Indicates if the specified Serial port is ready. On the Leonardo, Serial indicates wether or not the USB CDC serial connection is open. For all other serial instances, this will always returns true.

Changed lines 31-47 from:
to:
April 10, 2012, at 06:30 PM by Scott Fitzgerald -
Changed lines 7-8 from:

Indicates if the Serial port is ready.

to:

Indicates if the specified Serial port is ready. On the Leonardo, Serial indicates wether or not the USB CDC serial connection is open. For all other serial instances, this returns true.

This was first introduced in Arduino 1.0.1.

Changed lines 28-29 from:

boolean : returns true if the specified serial port is available. On the Leonardo Serial indicates wether or not the USB CDC serial connection is open. For all other serial instances, this returns true.

to:

boolean : returns true if the specified serial port is available.

April 10, 2012, at 06:29 PM by Scott Fitzgerald -
Added lines 1-35:

Share