23
5.5
Drawing
5.1
Set Drawing
Colour
Dec
Hex
ASCII
254 99
FE 63
c
Colour
Colour
Colour
Change the drawing colour used for all subsequent drawing commands that do not implicitly specify colour.
Colour
1 byte, 0 for background or 1 to 255 for text colour
5.2
Draw Pixel
Dec
Hex
ASCII
254 112
FE 70
p
X Position Y Position
X Position Y Position
X Position Y Position
Draw a single pixel on the graphic display using the current drawing colour.
X Position
1 byte, horizontal position of pixel, value between 0 and 239
Y Position
1 byte, vertical position of pixel, value between 0 and 63
5.3
Draw a
Line
Dec
Hex
ASCII
254 108
FE 6C
l
X1 Position Y1 Position X2 Position Y2 Position
X1 Position Y1 Position X2 Position Y2 Position
X1 Position Y1 Position X2 Position Y2 Position
Draw a line connecting two termini. Lines may be rendered differently when drawn right to left versus left to right.
X1 Position
1 byte, horizontal coordinate of first terminus, value between 0 and 239
Y1 Position
1 byte, vertical coordinate of first terminus, value between 0 and 63
X2 Position
1 byte, horizontal coordinate of second terminus, value between 0 and 239
Y2 Position
1 byte, vertical coordinate of second terminus, value between 0 and 63
5.4
Continue a
Line
Dec
Hex
ASCII
254 101
FE 65
e
X Position Y Position
X Position Y Position
X Position Y Position
Draw a line from the last point drawn to the coordinate specified using the current drawing colour.
X Position
1 byte, left coordinate of terminus, value between 0 and 239
Y Position
1 byte, top coordinate of terminus, value between 0 and 63
5.5
Draw a
Rectangle
Dec
Hex
ASCII
254 114
FE 72
r
Colour X1 Position Y1 Position X2 Position Y2 Position
Colour X1 Position Y1 Position X2 Position Y2 Position
Colour X1 Position Y1
Position X2 Position Y2 Position
Draw a rectangular frame one pixel wide using the colour specified; current drawing colour is ignored.
Colour
1 byte, 0 for background or 1 to 255 for text colour
X1 Position
1 byte, leftmost coordinate, value between0 and 239
Y1 Position
1 byte, topmost coordinate, value between 0 and 63
X2 Position
1 byte, rightmost coordinate, value between X1 and 239
Y2 Position
1 byte, bottommost coordinate, value between Y1 and 63
相关PDF资料
GLK24064-25-WB-V LCD GRAPHIC DISPL 240X64 BLU/WHT
GLT240128-FGW-VPT LCD TOUCH 128X240 WHT/GRY
GM2BB50BM0C LED WHITE 5000K 150MA 0.5W
GM5YJ01210A LED ORANGE CLEAR 6050 SMD
GU128X128D-3900B VACUUM FLUORESCENT DISPLAY
GU144X16D-7053B VACUUM FLUORESCENT DISPLAY
GU160X32-800B MODULE VF GRAPHIC DISPLAY 160X32
GU160X80E-7900B VACUUM FLUORESCENT DISPLAY
相关代理商/技术参数
GLK24064-16-1U-TCI-VPT-E 制造商:Matrix Orbital 功能描述:Graphic DisplayBk BG Wide Volt, Ext Temp
GLK24064-16-1U-TC-VPT-E 功能描述:LCD DISPLAY - 240X64 MULT COLOR RoHS:是 类别:光电元件 >> 显示器模块 - LCD,OLED,图形 系列:- 标准包装:1 系列:* 其它名称:Q7143510
GLK24064-16-1U-WB 功能描述:LCD 图形显示模块和配件 Blue Background White Text RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLK24064-16-1U-WB-E 功能描述:LCD 图形显示模块和配件 240 x 64 Wht Txt Blu B/G Ext Temp RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLK24064-16-1U-WB-LV 功能描述:LCD 图形显示模块和配件 240 x 64 Wht Txt Blu B/G Low Volt RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLK24064-16-1U-WB-LV-E 制造商:Matrix Orbital 功能描述:Graphic DisplayBl BG Low Volt, Ext Temp
GLK24064-16-1U-WB-V 功能描述:LCD 图形显示模块和配件 240 x 64 Wht Txt Blu B/G Ext Volt RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk
GLK24064-16-1U-WB-VPT 功能描述:LCD 图形显示模块和配件 240 X 64 BLUE/WHITE 9VDC TO 35VDC RoHS:否 制造商:ELECTRONIC ASSEMBLY 产品: 分辨率:128 x 64 流体类型:FSTN Positive 接口: 背光: 背景色:White 工作温度范围:- 20 C to + 70 C 封装:Bulk