1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-24 18:25:23 +01:00

Changed binary constants to hex

This commit is contained in:
Gerry Stellenberg
2010-11-19 17:52:43 -06:00
parent 41fa8ce002
commit fad99c4d1b

View File

@@ -27,68 +27,68 @@
void display(PRHandle proc, char * string_1, char * string_2) void display(PRHandle proc, char * string_1, char * string_2)
{ {
// Start at ASCII table offset 32: ' ' // Start at ASCII table offset 32: ' '
const int asciiSegments[] = {0b0000000000000000, // ' ' const int asciiSegments[] = {0x0000, // ' '
0b0000000000000000, // '!' 0x0000, // '!'
0b0000000000000000, // '"' 0x0000, // '"'
0b0000000000000000, // '#' 0x0000, // '#'
0b0000000000000000, // '$' 0x0000, // '$'
0b0000000000000000, // '%' 0x0000, // '%'
0b0000000000000000, // '&' 0x0000, // '&'
0b0000001000000000, // ''' 0x0200, // '''
0b0001010000000000, // '(' 0x1400, // '('
0b0100000100000000, // ')' 0x4100, // ')'
0b0111111101000000, // '*' 0x7f40, // '*'
0b0010101001000000, // '+' 0x2a40, // '+'
0b1000000010000000, // ',' 0x8080, // ','
0b0000100001000000, // '-' 0x0840, // '-'
0b1000000000000000, // '.' 0x8000, // '.'
0b0100010000000000, // '/' 0x4400, // '/'
0b0000000000111111, // '0' 0x003f, // '0'
0b0000000000000110, // '1' 0x0006, // '1'
0b0000100001011011, // '2' 0x085b, // '2'
0b0000100001001111, // '3' 0x084f, // '3'
0b0000100001100110, // '4' 0x0866, // '4'
0b0000100001101101, // '5' 0x086d, // '5'
0b0000100001111101, // '6' 0x087d, // '6'
0b0000000000000111, // '7' 0x0007, // '7'
0b0000100001111111, // '8' 0x087f, // '8'
0b0000100001101111, // '9' 0x086f, // '9'
0b0000000000000000, // '1' 0x0000, // '1'
0b0000000000000000, // '1' 0x0000, // '1'
0b0000000000000000, // '1' 0x0000, // '1'
0b0000000000000000, // '1' 0x0000, // '1'
0b0000000000000000, // '1' 0x0000, // '1'
0b0000000000000000, // '1' 0x0000, // '1'
0b0000000000000000, // '1' 0x0000, // '1'
0b0000100001110111, // 'A' 0x0877, // 'A'
0b0010101001001111, // 'B' 0x2a4f, // 'B'
0b0000000000111001, // 'C' 0x0039, // 'C'
0b0010001000001111, // 'D' 0x220f, // 'D'
0b0000100001111001, // 'E' 0x0879, // 'E'
0b0000100001110001, // 'F' 0x0871, // 'F'
0b0000100000111101, // 'G' 0x083d, // 'G'
0b0000100001110110, // 'H' 0x0876, // 'H'
0b0010001000001001, // 'I' 0x2209, // 'I'
0b0000000000011110, // 'J' 0x001e, // 'J'
0b0001010001110000, // 'K' 0x1470, // 'K'
0b0000000000111000, // 'L' 0x0038, // 'L'
0b0000010100110110, // 'M' 0x0536, // 'M'
0b0001000100110110, // 'N' 0x1136, // 'N'
0b0000000000111111, // 'O' 0x003f, // 'O'
0b0000100001110011, // 'P' 0x0873, // 'P'
0b0001000000111111, // 'Q' 0x103f, // 'Q'
0b0001000001110011, // 'R' 0x1073, // 'R'
0b0000100001101101, // 'S' 0x086d, // 'S'
0b0010001000000001, // 'T' 0x2201, // 'T'
0b0000000000111110, // 'U' 0x003e, // 'U'
0b0100010000110000, // 'V' 0x4430, // 'V'
0b0101000000110110, // 'W' 0x5036, // 'W'
0b0101010100000000, // 'X' 0x5500, // 'X'
0b0010010100000000, // 'Y' 0x2500, // 'Y'
0b0100010000001001 // 'Z' 0x4409 // 'Z'
}; };
const int DIS_STB = 8; const int DIS_STB = 8;