1 | /*
|
---|
2 | glcbars.h -- Bar graph driver constants
|
---|
3 | Created: 1988-08-04 17:50:28
|
---|
4 | */
|
---|
5 |
|
---|
6 | int16_t BBase = 9; /* bottom line of bar graph */
|
---|
7 | int16_t BCenter = 32; /* center line of bar graph */
|
---|
8 | int16_t BTop = 53; /* top line of bar graph */
|
---|
9 | int16_t BOffset = 128; /* data offset for centered-zero bars */
|
---|
10 |
|
---|
11 | int16_t BarBLn[128] = { /* bottom-zero bar lines */
|
---|
12 |
|
---|
13 | 9, 10, 10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 14, 14, 14, 15,
|
---|
14 | 15, 15, 16, 16, 16, 17, 17, 17, 18, 18, 18, 19, 19, 19, 20, 20,
|
---|
15 | 20, 21, 21, 22, 22, 22, 23, 23, 23, 24, 24, 24, 25, 25, 25, 26,
|
---|
16 | 26, 26, 27, 27, 27, 28, 28, 28, 29, 29, 29, 30, 30, 30, 31, 31,
|
---|
17 | 31, 32, 32, 32, 33, 33, 34, 34, 34, 35, 35, 35, 36, 36, 36, 37,
|
---|
18 | 37, 37, 38, 38, 38, 39, 39, 39, 40, 40, 40, 41, 41, 41, 42, 42,
|
---|
19 | 42, 43, 43, 43, 44, 44, 44, 45, 45, 46, 46, 46, 47, 47, 47, 48,
|
---|
20 | 48, 48, 49, 49, 49, 50, 50, 50, 51, 51, 51, 52, 52, 52, 53, 53
|
---|
21 | };
|
---|
22 |
|
---|
23 | int16_t BarCLn[256] = { /* centered-zero bar lines */
|
---|
24 |
|
---|
25 | 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11,
|
---|
26 | 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14,
|
---|
27 | 14, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17,
|
---|
28 | 17, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 20, 20, 20, 20,
|
---|
29 | 20, 20, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 23, 23, 23,
|
---|
30 | 23, 23, 23, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 26, 26,
|
---|
31 | 26, 26, 26, 26, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 29,
|
---|
32 | 29, 29, 29, 29, 30, 30, 30, 30, 30, 30, 31, 31, 31, 31, 31, 31,
|
---|
33 | 32, 33, 33, 33, 33, 33, 33, 34, 34, 34, 34, 34, 34, 35, 35, 35,
|
---|
34 | 35, 35, 35, 36, 36, 36, 36, 36, 36, 37, 37, 37, 37, 37, 37, 38,
|
---|
35 | 38, 38, 38, 38, 38, 39, 39, 39, 39, 39, 39, 40, 40, 40, 40, 40,
|
---|
36 | 40, 41, 41, 41, 41, 41, 41, 42, 42, 42, 42, 42, 42, 43, 43, 43,
|
---|
37 | 43, 43, 43, 43, 44, 44, 44, 44, 44, 44, 45, 45, 45, 45, 45, 45,
|
---|
38 | 46, 46, 46, 46, 46, 46, 47, 47, 47, 47, 47, 47, 48, 48, 48, 48,
|
---|
39 | 48, 48, 49, 49, 49, 49, 49, 49, 50, 50, 50, 50, 50, 50, 51, 51,
|
---|
40 | 51, 51, 51, 51, 52, 52, 52, 52, 52, 52, 53, 53, 53, 53, 53, 53
|
---|
41 | };
|
---|