Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | mjames | 1 | /* |
2 | * displayinfo.h |
||
3 | * |
||
4 | * Created on: 19 Oct 2016 |
||
5 | * Author: Mike |
||
6 | */ |
||
7 | |||
8 | #ifndef INC_DISPLAYINFO_H_ |
||
9 | #define INC_DISPLAYINFO_H_ |
||
10 | |||
11 | #include "plx.h" |
||
12 | typedef struct |
||
13 | { |
||
14 | char name[8]; |
||
15 | int Units; // units to use in display (passed to PLX decoder ) |
||
16 | int Low; // low value to use on dial display |
||
17 | int High; // high value to use on dial display |
||
18 | int TickScale; // Scale values by this to give tick spacing |
||
19 | // so a dial with 0.. 1300 and TickScale=100 would display 14 major ticks on the dial face |
||
20 | int DP; // Number of decimal places to display |
||
21 | } PLX_DisplayInfo; |
||
22 | |||
23 | |||
24 | extern PLX_DisplayInfo DisplayInfo[]; |
||
25 | |||
26 | |||
27 | #endif /* INC_DISPLAYINFO_H_ */ |