Re: 1602 LCD via I2c
Posted: Fri Nov 20, 2015 10:22 pm
Changed the code bit on the back-light on off command to turn the variable or value in to an int before compare to prevent numbers with floating point from not triggering. Functionally the command is the same.
Documentation published here
http://www.esp8266basic.com/oled--lcd-d ... mands.html
if (Param0 == "lcdbl")
{
if (GetMeThatVar(Param1).toInt() == 1)
{
lcd.backlight();
}
else
{
lcd.noBacklight();
}
return;
}
Documentation published here
http://www.esp8266basic.com/oled--lcd-d ... mands.html
if (Param0 == "lcdbl")
{
if (GetMeThatVar(Param1).toInt() == 1)
{
lcd.backlight();
}
else
{
lcd.noBacklight();
}
return;
}