101-0303 Rabbit Semiconductor, 101-0303 Datasheet - Page 76

no-image

101-0303

Manufacturer Part Number
101-0303
Description
SMARTSCREEN OP7100 DISPLAY
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0303

Module/board Type
Single Board Computer Module with display
For Use With/related Products
Single Board Computers
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined
76
Initialization
The OP7100, unlike most other Rabbit Semiconductor controllers, uses the
maximum I/O and memory wait states when
states can be reduced to improve performance. The following statement
sets up the proper wait states for the standard OP7100 (using a 90 ns flash
memory).
The graphic LCD can be set up by a simple function call to
This function initializes and starts the LCD controller before supplying
voltage to the LCD screen.
The backlight is controlled by
turn off the backlight (default) or a non-zero value to turn on the backlight.
If you have an OP7100 equipped with software contrast control, call
op71SetContrast(unsigned level)
of
at room temperature.
Drawing Primitives
You can draw various objects on the LCD. Before doing any drawing,
specify the type of the "brush" by calling
type)
Plot a Pixel
• int op71PlotDot(int x, int y);
level
x
Graphics Programming
and
GL _ SET
GL _ CLEAR
GL _ XOR
GL _ BLOCK
. Four brush macros are supported:
outport(DCNTL,(inport(DCNTL)&0xf)|0x60);
op71Init();
other pixels alone;
leaves other pixels alone;
leaves other pixels alone;
pixels.
pixels need to be overwritten, and the overwriting pixels are
aligned in eight-pixel rows.
y
is from 0 to 63. A level of 30 usually yields reasonable contrast
are the coordinates, the upper left corner is (0,0).
Figure 3-8 shows the coordinate system for the LCD pixels.
sets the pixels as specified by the plot commands, but leaves
toggles the pixels as specified by the plot command, but
GL _ BLOCK
clears the pixels as specified by the plot commands, but
forces the value of pixels in groups of eight vertical
is useful when speed is important, the current
op71BackLight(int isOn)
op71SetBrushType(int
to change contrast. The range
main()
gets control. The wait
. Pass zero to
OP7100

Related parts for 101-0303