LCD0821 rev 2
20
5. Miscellaneous Commands
The commands listed in this chapter don't readily fit in any of the other categories, or are used in more than
one category.
Before issuing commands to the LCD0821 please read sections 6.2 and 6.3.
5.1 Command List
5.1.1 Clear display (254 88)
This command clears the display and resets the text insertion point to the top left of the screen.
5.1.2 Set contrast (254 80 [contrast])
This command sets the display's contrast to [contrast], where [contrast] is a value between 0x00 and 0xFF
(between 0 and 255). Lower values cause "on" elements in the display area to appear lighter, while higher
values cause "on" elements to appear darker.
Lighting conditions will affect the actual value used for optimal viewing. Individual LCD0821 modules will
also differ slightly from each other in appearance. In addition, values for optimal viewing while the
LCD0821 backlight is on may differ from values used when backlight is off.
5.1.3 Backlight on (254 66 [minutes])
This command turns on the backlight for a time of [minutes] minutes. If [minutes] is zero (0), the backlight
will remain on indefinitely. Note: the factory default for backlight is on.
5.1.4 Backlight off (254 70)
This command turns the backlight of the LCD0821 off.
5.1.5 General purpose output on (254 86)
This command turns ON the General Purpose Output (see section 0 for a description of the GPOON means
that the output is pulled low (ground via 240 ohms).
5.1.6 General purpose output off (254 87)
This command turns ON the General Purpose Output. ). OFF means that the "–" side of the output floats.
electronic components distributor