30
TTPM2 Installation and Programming Manual
September, 99
0 0 0
0 0 0 0
1
0 0
1
1
0 0 0
1
0
1 1
1 1
0 0
1
1 1 1
1 1 1
0
1
0
1 1
1 1
0 0
1
0 0
1
1
0 0 0
1
0 0 0
0 0 0 0
1
1
1
2
2
3
3
5
5
6
6
7
7
8
4
4
1.
Create
pixel
graphics
2.
Add empty
vertical lines
to get full bytes
3.
Convert pixels
to bits
Black pixel=1
White pixel=0
4.
Covert bits
to bytes
SW97123
1 2 8
6 4
3 2 8
4
2
1
1 6
1 byte
!F G N 140 140 1
1
7 1 10H 38H 7CH FEH 7CH 38H 10H
10 H
10 H
38 H
38 H
7C H
7C H
FE H
Figure 19. Converting graphics to TTPM2 format. Note that the appearance on your screen depends on the
editor you use to write your program.
A file for downloading and printing the above graphics will look like this, in Windows
Notepad:
(!)#)# +,-,+
A utility program called Swecoin TTPM editor can help you convert Windows bitmap im-
ages (BMP-files) to TTPM graphics format. You can download the TTPM editor free of
charge from the Swecoin Internet web site at http://www.swecoin.se.