Description
The SerLCD firmware v2.5 supports setting different types of LCD's.
This function allows to easily set the type of LCD.
The function expects a parameter value of 3 - 6:
3: 2x16 LCD
4: 2x20 LCD
5: 4x16 LCD
6: 4x20 LCD
After changing the settings, the value is written to the EEPROM so the SerialLCD will remember it even after a power-off.
Syntax
lcd.setType()
Parameters
lcd: a variable of type serLCD
Example