
www.4dsystems.com.au
µ
V
G
A
-PICASO-
MD1
28
6.1.16
Put
P
ixel
(
P
)
Serial Syntax :
cmd, x
(msb:lsb),
y
(msb:lsb),
colour
4DGL Syntax :
(refer to 4DGL programmers manual)
cmd :
50
hex
, P
ascii
x :
horizontal pixel position. 2 bytes
y :
vertical pixel position. 2 bytes
colour :
pixel colour value: 1 byte
256 colours to choose from
Black =
00
hex,
0
dec
White =
FF
hex,
256
dec,
11
111
111
bin
Description :
This command will put a coloured pixel at location
(x, y)
on the screen.
Example :
50
hex
, 00
hex
, 01
hex
, 00
hex
, 0A
hex
, FF
hex
Puts a white (
FF
hex) pixel at location x =
01
dec (
01
hex) and y =
10
dec (
0A
hex).