|Top Previous Next|
The TEV-LB0 board carries a 128x64, black/white WINSTAR WG12864A LCD panel. This panel is based on a SAMSUNG S6B0108 controller (there are two controllers on one panel). The WG12864A does not have the contrast control, so the contrast control circuit is added externally. Additionally, there is a control line for the LCD panel's backlight. The image displayed on the panel is not visible unless the backlight is turned on.
Related datasheets, as well as the schematic diagram for the TEV-LB0 board can be found on Tibbo website.
Interconnection between the EM1000 and the panel/ contrast control/ backlight control
(1) Pin number on the TEV-LB0 connector.
(2) The line of the contrast control circuit, not the LCD panel itself.
(3) Backlight control line.
Required initialization code in Tibbo BASIC/C application
This section assumes that you are familiar with Tibbo BASIC/C and TIDE software. These are documented in the "TIDE and Tibbo BASIC Manual".
For correct panel operation, click Project-> Settings, and select "EM1000" or "EM1000G" platform. Additionally, click Customize to open a Customize Platform dialog. In the dialog, double-click the Display Panel Type line and choose "Samsung S6B0108 (Winstar WG12864A)".
The following initialization code should also be added to your project:
The set_lcd_contrast() procedure should be called after the panel initialization. The procedure sets the contrast level in 16 steps -- the contrast control hardware only has 4 data lines. Therefore, the contrast level of 16 is equal to the contrast level of 0.
Here is the suggested code for this function:
Use the following code to turn on the backlight: