lcd(...)

Back to Index

Definition: lcd(color, line [, arg1 ...]) — Allowed: numeric expressions for color/line, then string or numeric args.

Controls the I2C RGB LCD. Color uses a 3-bit mask (value & 0x07): bit0=R, bit1=G, bit2=B. Text args are concatenated like log/logn.

Line behavior

Examples

lcd(2, 1, "Pump OK");
lcd(4, 2, "P:", ain(1), "  T:", temp());
lcd(1, 0);   // set red and clear full LCD