"segmentStyle"

Sets the segment style for a LCD number.

Synopsis

setValue(string shape,"segmentStyle",string s);

getValue(string shape,"segmentStyle",string &s);

shape.segmentStyle(string s);

Parameter

Parameter Description
shape Name of the object
s

The segment style:

Outline: Raised segments are filled with the background color (default).

Filled: Raised segments are filled with the foreground color.

Flat: Flat segments are filled with the foreground color.

Description

Sets the segment style for a LCD number.

Example

The following example sets the segment style to "Flat". Flat segments are filled with the foreground color.

main(bool enter)
{
  LCD1.segmentStyle("Flat");
}
Figure 1. LCD Number and the Segment style "Flat"

Assignment

LCD number