lcd.begin()

[LiquidCrystal]

Description

Initializes the interface to the LCD screen, and specifies the dimensions (width and height) of the display. begin() needs to be called before any other LCD library commands.

Syntax

lcd.begin(cols, rows)

Parameters

  • lcd: a variable of type LiquidCrystal
  • cols: the number of columns that the display has
  • rows: the number of rows that the display has

Libraries Reference Home

The text of the 86Duino reference is a modification of the Arduino reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Leave a Comment

Scroll to Top