|
TEV-LB0 |
Top Previous Next |
|
The TEV-LB0 board carries a 128x64, black/white WINSTAR WG12864F LCD panel. This panel is based on a SAMSUNG S6B0108 controller (there are two controllers on one panel). The WG12864F 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 application This section assumes that you are familiar with Tibbo BASIC and TIDE software. These are documented in the "Tibbo BASIC Programming Guide". For correct panel operation, click Project-> Settings, and select "EM1000" or "EM1000W" 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 WG12864F)". 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:
|