To initialize a font information structure (of type struct _fontInfo
參數(shù)資料
型號: 20-101-0303
廠商: Rabbit Semiconductor
文件頁數(shù): 106/126頁
文件大?。?/td> 0K
描述: SMARTSCREEN OP7100 W/TOUCHSCREEN
標準包裝: 1
顯示器類型: STN - 超扭轉(zhuǎn)向列,帶觸摸面板
可視范圍: 121.00mm L x 91.00mm W
背光: CCFL - 白
點象素: 320 x 240(QVGA)
接口: 串行
點間距: 0.36mm x 0.36mm
產(chǎn)品目錄頁面: 618 (CN2011-ZH PDF)
其它名稱: 20-101-0303-ND
20-101-303
20-101-303-ND
316-1175
OP7100
80
Graphics Programming
To initialize a font information structure (of type struct _fontInfo),
you can call op71XFontInit for a font stored in xmem.
To display a bitmap, call op71XPutBitmap to display a bitmap stored in
xmem
.
Printing Text
Printing text involves setting the font information structures. Call
void op71XFontInit(struct _fontInfo *pInfo,
char pixWidth, char pixHeight,
unsigned startChar, unsigned endChar,
unsigned long xmemBuffer);
to initialize a font information structure if the font is stored in xmem.
pInfo
points to a font information structure, pixWidth is the width of
each character (fixed pitch), pixHeight is the height of each character,
startChar
is the ASCII code of the first character in the font, endChar is
the ASCII code of the last character in the font, and xmemBuffer is a
physical address pointing to the font table stored in xmem.
Rabbit Semiconductor supplies five font sizes for the OP7100. The
smallest font, engFont6x8, compiles to xmem, and each character is 6
pixels wide by 8 pixels high. The largest font, engFont17x35, also
compiles to xmem, and each character is 17 pixels wide by 35 pixels high.
When you need to print text to the LCD, call
void op71Printf(int x, int y,
struct _fontInfo *pInfo, char *fmt,...);
where (x,y) is the upper left corner of the text, pInfo points to a font
information structure, fmt points to a format string (much like printf),
and the rest of the parameters specify what to print for each field in the
format string (same as printf).
相關(guān)PDF資料
PDF描述
TPSW107M004R0100 CAP TANT 100UF 4V 20% 2312
GLK24064-25-VPT LCD GRAPHIC DISPL 240X64 Y/G BK
MK-GT380N KIT MODULE 3.8" MONOCHROME DISP
MK-GT380T KIT MODULE 3.8" TRANSFLECTV DISP
CWX823-060.0M OSC 60.0000MHZ 3.3V +-50PPM SMD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-0343 功能描述:電纜組件 BL1800 proto board RoHS:否 制造商:Molex 產(chǎn)品:Power Assemblies 類型:Cable Assembly 連接器端口 A:No Connector 連接器端口 A 管腳計數(shù):4 連接器端口 B:No Connector 連接器端口 B 管腳計數(shù): 型式:Male 線規(guī) - 美國線規(guī)(AWG):20, 28 長度:0.305 m 顏色:Black, Red
20-101-0356 功能描述:單板計算機 BL1800 RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲容量:2 GB (max) 存儲類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm
20-101-0357 功能描述:單板計算機 BL1810 SINGLE BOARD COMPUTER RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲容量:2 GB (max) 存儲類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm
20-101-0358 功能描述:單板計算機 BL1820 RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲容量:2 GB (max) 存儲類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm
20-101-0383 功能描述:模塊化系統(tǒng) - SOM RCM2020 RabbitCore RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in