www.4dsystems.com.au
µ
V
G
A
-PICASO-
MD1
12
6.1.1
A
dd User Bitmapped Character
(
A
)
Serial Syntax :
cmd, group, numb, data1, data2, …….., dataN
4DGL Syntax :
N/A
cmd :
41
hex
, A
ascii
group :
selects the appropriate bitmap format
00
hex selects the 8x8 bitmap format
01
hex selects the 16x16 bitmap format
02
hex selects the 32x32 bitmap format
numb :
bitmap character number to add to memory:
0 to 63 (
00
h to
3F
h), 64 characters of 8x8 format when group =
00
hex
0 to 15 (
00
h to
0F
h), 16 characters of 16x16 format when group =
01
hex
0 to 7 (
00
h to
07
h), 8 characters of 32x32 format when group =
02
hex
data1 to dataN :
number of data bytes that make up the composition and format of
the bitmapped character. The 8x8 bitmap composition is 1 byte wide (8bits)
by 8 bytes deep which makes N = 1x8 = 8. The 16x16 bitmap composition is
2 bytes wide (16bits) by 16 bytes deep which makes N = 2x16 = 32. The
32x32 bitmap composition is 4 bytes wide (32bits) by 32 bytes deep hence N
= 4x32 = 128.
Description :
This command will add a user defined bitmapped character into the
internal memory. There are 3 different size bitmaps available, 8x8 format, 16x16
format and 32x32 format. The desired format is selected by specifying the appropriate
value in ‘
group’
.
Example1:
41
hex
, 0, 01
hex
, 18
hex
, 24
hex
, 42
hex
, 81
hex
, 81
hex
, 42
hex
, 24
hex
,
18
hex
This adds and saves user defined 8x8 bitmap as character number 1 into memory as
seen below.
b7 b6 b5 b4 b3 b2 b1 b0
data1 (hex = 18h)
data2 (hex = 24h)
data3 (hex = 42h)
data4 (hex = 81h)
data5 (hex = 81h)
data6 (hex = 42h)
data7 (hex = 24h)
data8 (hex = 18h)
Example of a 8x8 user defined bitmap