"mode";

Sets the mode of an LCD.

Synopsis

setValue(string shape,"mode",string m);

getValue(string shape,"mode",string &m);

shape.mode(string m);

Parameter

Parameter Description
shape Name of the object
m

The mode:

"Hex";: Hexadecimal

"Dec";: Decimal

"Oct";: Octal

"Bin";: Binary

Description

Sets the mode of an LCD.

Example

The following example sets the mode of the LCD number to binary.

main(bool enter)
{
  LCD1.mode("Bin");
}

Assignment

LCD number