.Width Property

Top  Previous  Next

Function:

Sets the horizontal resolution of the display panel in pixels.

Type:

Word

Value Range:

Appropriate value depends on the panel. Default= 0.

See Also:

Preparing the Display for Operation, lcd.height

 


Details

Set this property according to the characteristics of your display panel.

The reason why this value is not set automatically when you select a certain controller is because the capability of the controller may exceed the actual resolution of the panel, i.e. only "part" of the controller may be utilized.

This property can only be changed when the display is disabled (lcd.enabled= 0- NO).