"value"

Sets the current value of a LCD number.

Synopsis

setValue(string shape,"value",float v);

getValue(string shape,"value",float &v);

shape.value(float v);

Parameter

Parameter Description
shape Name of the object
v The current value

Description

Sets the current value of a LCD number.

Example

The following example sets the current value of a LCD number to 2.0.

main(bool enter)
{
  float val = 2.0;
  setValue("LCD1","value",val);
}
Figure 1. LCD Number

Assignment

LCD number