Reference.LiquidCrystalConstructor History

Hide minor edits - Show changes to markup

June 01, 2010, at 03:06 AM by Equipo Traduccion -
Deleted lines 6-7:

Creates a variable of type LiquidCrystal. The display can be controlled using 4 or 8 data lines. If the former, omit the pin numbers for d0 to d3 and leave those lines unconnected. The RW pin can be tied to ground instead of connected to a pin on the Arduino; if so, omit it from this function's parameters.

June 01, 2010, at 03:05 AM by Equipo Traduccion -
Changed lines 5-6 from:

Description

to:

Descripción

Changed lines 9-10 from:

Syntax

to:

Crea una variable de tipo LiquidCrystal. La pantalla se puede controlar por medio de 4 u 8 líneas de datos. En el primer caso, omitir los números de pines para d0 hasta d3 y dejar esos pines no conectados. El pin RW pueden ser conectado a masa en lugar de conectarse a un pin de Arduino, si es así, omítelo de los parámetros de esta función.

Sintaxis

Changed lines 18-29 from:

Parameters

rs: the number of the Arduino pin that is connected to the RS pin on the LCD

rw: the number of the Arduino pin that is connected to the RW pin on the LCD (optional)

enable: the number of the Arduino pin that is connected to the enable pin on the LCD

d0, d1, d2, d3, d4, d5, d6, d7: the numbers of the Arduino pins that are connected to the corresponding data pins on the LCD. d0, d1, d2, and d3 are optional; if omitted, the LCD will be controlled using only the four data lines (d4, d5, d6, d7).

Example

to:

Parámetros

rs: número del pin de Arduino que está conectado al pin RS del LCD

rw: número del pin de Arduino que está conectado al pin RW del LCD (opcional)

enable: número del pin de Arduino que está conectado al pin ENABLE del LCD

d0, d1, d2, d3, d4, d5, d6, d7: números de pines de Arduino que están conectados a los correspondientes pines de datos del LCD. d0, d1, d2, y d3 son opcionales; si se omiten, el LCD será controlado usando solamente cuatro lineas de datos (d4, d5, d6, d7).

Ejemplo

Changed line 37 from:
  lcd.print("hello, world!");
to:
  lcd.print("hola, mundo!");
August 11, 2009, at 11:13 PM by David A. Mellis -
Changed lines 7-8 from:

Creates a variable of type LiquidCrystal.

to:

Creates a variable of type LiquidCrystal. The display can be controlled using 4 or 8 data lines. If the former, omit the pin numbers for d0 to d3 and leave those lines unconnected. The RW pin can be tied to ground instead of connected to a pin on the Arduino; if so, omit it from this function's parameters.

Added line 11:

LiquidCrystal(rs, enable, d4, d5, d6, d7) \\

Added line 13:

LiquidCrystal(rs, enable, d0, d1, d2, d3, d4, d5, d6, d7) \\

Changed lines 20-21 from:

rw: the number of the Arduino pin that is connected to the RW pin on the LCD

to:

rw: the number of the Arduino pin that is connected to the RW pin on the LCD (optional)

January 10, 2009, at 09:41 AM by David A. Mellis -
Changed lines 22-23 from:

d0, d1, d2, d3, d4, d5, d6, d7: the numbers of the Arduino pins that are connected to the corresponding data pins on the LCD. d0, d1, d2, and d3 are optional; if omitted, the LCD will be controlled using only four data lines.

to:

d0, d1, d2, d3, d4, d5, d6, d7: the numbers of the Arduino pins that are connected to the corresponding data pins on the LCD. d0, d1, d2, and d3 are optional; if omitted, the LCD will be controlled using only the four data lines (d4, d5, d6, d7).

October 20, 2008, at 10:34 PM by David A. Mellis -
Changed line 11 from:

LiquidCrystal(rs, rw, enable, d0, d1, d2, d3) \\

to:

LiquidCrystal(rs, rw, enable, d4, d5, d6, d7) \\

Changed lines 22-23 from:

d0, d1, d2, d3, d4, d5, d6, d7: the numbers of the Arduino pins that are connected to the corresponding data pins on the LCD. d4, d5, d6, and d7 are optional; if omitted, the LCD will be controlled using only four data lines.

to:

d0, d1, d2, d3, d4, d5, d6, d7: the numbers of the Arduino pins that are connected to the corresponding data pins on the LCD. d0, d1, d2, and d3 are optional; if omitted, the LCD will be controlled using only four data lines.

September 07, 2008, at 11:23 AM by David A. Mellis -
Added lines 1-37:

LiquidCrystal

LiquidCrystal()

Description

Creates a variable of type LiquidCrystal.

Syntax

LiquidCrystal(rs, rw, enable, d0, d1, d2, d3)
LiquidCrystal(rs, rw, enable, d0, d1, d2, d3, d4, d5, d6, d7)

Parameters

rs: the number of the Arduino pin that is connected to the RS pin on the LCD

rw: the number of the Arduino pin that is connected to the RW pin on the LCD

enable: the number of the Arduino pin that is connected to the enable pin on the LCD

d0, d1, d2, d3, d4, d5, d6, d7: the numbers of the Arduino pins that are connected to the corresponding data pins on the LCD. d4, d5, d6, and d7 are optional; if omitted, the LCD will be controlled using only four data lines.

Example

#include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);

void setup()
{
  lcd.print("hello, world!");
}

void loop() {}

Share