maximum I/O an" />
參數(shù)資料
型號: 101-0303
廠商: Rabbit Semiconductor
文件頁數(shù): 101/126頁
文件大?。?/td> 0K
描述: SMARTSCREEN OP7100 DISPLAY
標準包裝: 1
系列: SBC
模塊/板類型: 單板計算機模塊,帶顯示器
適用于相關產(chǎn)品: 單板計算機
OP7100
76
Graphics Programming
Initialization
The OP7100, unlike most other Rabbit Semiconductor controllers, uses the
maximum I/O and memory wait states when main() gets control. The wait
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).
outport(DCNTL,(inport(DCNTL)&0xf)|0x60);
The graphic LCD can be set up by a simple function call to
op71Init();
This function initializes and starts the LCD controller before supplying
voltage to the LCD screen.
The backlight is controlled by op71BackLight(int isOn). Pass zero to
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)
to change contrast. The range
of level is from 0 to 63. A level of 30 usually yields reasonable contrast
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 op71SetBrushType(int
type)
. Four brush macros are supported:
GL_SET
sets the pixels as specified by the plot commands, but leaves
other pixels alone;
GL_CLEAR
clears the pixels as specified by the plot commands, but
leaves other pixels alone;
GL_XOR
toggles the pixels as specified by the plot command, but
leaves other pixels alone;
GL_BLOCK
forces the value of pixels in groups of eight vertical
pixels. GL_BLOCK is useful when speed is important, the current
pixels need to be overwritten, and the overwriting pixels are
aligned in eight-pixel rows.
Plot a Pixel
int op71PlotDot(int x, int y);
x
and y are the coordinates, the upper left corner is (0,0).
Figure 3-8 shows the coordinate system for the LCD pixels.
相關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
相關代理商/技術參數(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