參數(shù)資料
型號: 101-0303
廠商: Rabbit Semiconductor
文件頁數(shù): 104/126頁
文件大?。?/td> 0K
描述: SMARTSCREEN OP7100 DISPLAY
標(biāo)準(zhǔn)包裝: 1
系列: SBC
模塊/板類型: 單板計算機(jī)模塊,帶顯示器
適用于相關(guān)產(chǎn)品: 單板計算機(jī)
OP7100
Graphics Programming
79
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'
};
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 xmem to store
the font/bitmap. To store the font/bitmap in xmem, you need to change the
following line.
char fontBitMap[] = {
to
xdata fontBitMap {
Once these changes are made, you can copy and paste the font (as an
initialized character array or as an initialized xdata item) into your
program or library.
Remember to #use either the OP71L.LIB (landscape image)
or the OP71P.LIB (portrait image) library in your program.
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.
/*horizontal size is 6 pixels.
vertical size is 8 pixels.*/
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,
fontBitMap)*/
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.
相關(guān)PDF資料
PDF描述
101-0383 MODULE RABBITCORE RCM2020
101-0435 MODULE RABBITCORE RCM2110
101-0453 MODULE RABBITCORE RCM2300
101-0494 MODULE RABBITCORE RCM2250
101-0518 MODULE RABBITCORE RCM3110
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10103042SP 制造商:Pentair Technical Products / Hoffman 功能描述:HTR COMP 240V 25W W ADH TIES
1010-3-05-00-00-00-01-0 功能描述:電路板硬件 - PCB PRESS FIT WRAPOST RECPT 3 WRAPS RoHS:否 制造商:Harwin 類型:Shield Clip 長度:9.4 mm 螺紋大小: 外徑: 材料:Beryllium Copper 電鍍:Tin
1010-3-05-01-00-00-01-0 功能描述:電路板硬件 - PCB 200u SN/PB OVER NI 3 WRAPS RoHS:否 制造商:Harwin 類型:Shield Clip 長度:9.4 mm 螺紋大小: 外徑: 材料:Beryllium Copper 電鍍:Tin
1010-3-05-15-00-00-01-0 功能描述:電路板硬件 - PCB 10u AU OVER NI 3 WRAPS RoHS:否 制造商:Harwin 類型:Shield Clip 長度:9.4 mm 螺紋大小: 外徑: 材料:Beryllium Copper 電鍍:Tin
1010-3-05-21-00-00-01-0 功能描述:電路板硬件 - PCB 20u AU OVER NI 3 WRAPS RoHS:否 制造商:Harwin 類型:Shield Clip 長度:9.4 mm 螺紋大小: 外徑: 材料:Beryllium Copper 電鍍:Tin