Arduino Function: LiquidCrystal.begin


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.


lcd.begin(cols, rows)


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

Based on the reference originally written by Arduino Community, and