20-101-0732 Rabbit Semiconductor, 20-101-0732 Datasheet - Page 79

no-image

20-101-0732

Manufacturer Part Number
20-101-0732
Description
INTERFACE SMART SCREEN OP7100
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-0732

Module/board Type
Single Board Computer Module
For Use With/related Products
OP7100
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
20-101-732
20-101-732
OP7100
The first task is to rename the array so that it is unique. Then you can
decide whether the font/bitmap should be stored in root memory or in
extended memory. Because bitmaps can be large and root memory space
is precious, Rabbit Semiconductor recommends you to use
the font/bitmap. To store the font/bitmap in
following line.
to
Once these changes are made, you can copy and paste the font (as an
initialized character array or as an initialized
program or library.
Using the Font/Bitmap In Your Program
The array does not store the dimensions of the font or the bitmap. This
information is contained in the comments. The following lines in the
comments indicate the dimensions of the font.
For fonts, the comments also indicate the starting character and the ending
character code with the following line.
/*make call to op71XFontInit(&fi, 6, 8, 32, 127,
The fourth argument is the first character code mapped to the font and the
fifth argument is the last character code mapped to the font.
fontBitMap)*/
last character is for code 0xff.
make call to glFontInit(&fi, 6, 8, 32, 127, fontBitMap)
to initialize table*/
char fontBitMap[] = {
/* char 0x20 of width 6 at 0x5da */
'\x0',
'\x0',
'\x0',
'\x0',
'\x0',
'\x0',
...
'\x0'
};
char fontBitMap[] = {
xdata fontBitMap {
/*horizontal size is 6 pixels.
vertical size is 8 pixels.*/
Remember to
or the
OP71P.LIB
#use
(portrait image) library in your program.
either the
OP71L.LIB
xmem
xdata
Graphics Programming
, you need to change the
item) into your
(landscape image)
xmem
to store
79

Related parts for 20-101-0732