begin()
描述
初始化液晶顯示器,藉由給予液晶顯示器的高度和寬度,讓 LiquidCrystal
物件知道液晶顯示器的可印範圍。
begin()
這個函式必須在呼叫所有 LiquidCrystal
函式庫提供的函式之前呼叫。
語法
lcd.begin(cols, rows)
參數
cols
:液晶顯示器可印範圍的行數
rows
:液晶顯示器可印範圍的列數
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.