421
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
15 -> gggggbbbbbbrrrrr <- bit 0. In this example, the green field is the last field
and occupies 5 bits (15-11).
.Height Property
Function:
Sets the vertical 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
,
Details
Set this property according to the characteristics of your display panel.
This value is not set automatically when you select a certain controller 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 lcd is disabled (
= 0-
NO).
.Horline Method
Function:
Draws a horizontal line.
Syntax:
lcd.horline(x1 as word,x2 as word,y as word)
Returns:
---
See Also:
,
,
Par
t
Description
x1
X coordinate of the first point. Value range is 0 to
-1.
x2
X coordinate of the second point. Value range is 0 to
-1.
y
Y coordinates of the first and second points. Value range is 0 to
-1.
Details
The line is drawn with the specified line width (
) and "pen" color (
). Drawing horizontal or vertical (
) lines is more
efficient than drawing generic lines (
), and should be used whenever
possible.
The display panel must be enabled (
= 1- YES) for this method to
work.
395
432
416
396
427
418
417
432
432
421
423
419
432
422
416