
B–61863E–1/06
11. SAMPLE PROGRAM
APPLICATION
PROGRAMMING GUIDE
455
/* message color */
const static short strcolr_14[][2] = {
0x20, 0,
0x60, 0,
0x60, 0,
0x60, 0,
0x60, 0,
0x80, 0,
0x20, 0,
0x40, 0,
0x60, 0,
0xa0, 0,
0xc0, 0,
0xe0, 0
};
const static short strcolr_9[][2] = {
0x20, 0,
0x60, 0,
0x60, 0,
0x60, 0,
0x60, 0,
0x80, 0,
0x20, 0,
0x40, 0,
0x60, 0,
0xa0, 0,
0xc0, 0,
0xe0, 0
};
/* convert data position */
const static short ascii_pos[][2] = {
37, 9,
62, 15
};
const static short hex_pos[][2] = {
37, 10,
62, 17
};
const static short dec_pos[][2] = {
37, 11,
62, 18
};
const static short oct_pos[][2] = {
37, 12,
62, 19
};
/* convert data color */
const static short attri[][2]= {
0x20, 0,
0x40, 0,
0x60, 0,
0x80, 0,
0xa0, 0,
0xc0, 0,
0xe0, 0
};
const static char colmsg[] = ”RGYBPSW” ;
/* line data */
const static short line_1[] = {
20,
-277, -123, -13, -123, -13, -55, -277, -55,
-277, -123
};
const static short line_2[] = {
8,
-277, -107, -13, -107
};