Subversion Repositories DashDisplay

Rev

Rev 20 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20 Rev 24
Line 9... Line 9...
9
#define INC_DISPLAYINFO_H_
9
#define INC_DISPLAYINFO_H_
10
 
10
 
11
#include "plx.h"
11
#include "plx.h"
12
typedef struct
12
typedef struct
13
{
13
{
14
        char name[8];
14
        char name[8];   // Label given
-
 
15
        char suffix[3]; // mph / °C etc
15
        int  Units; // units to use in display (passed to PLX decoder )
16
        int  Units; // units to use in display (passed to PLX decoder )
16
        int  Low; // low value to use on dial display
17
        int  Low; // low value to use on dial display
17
        int  High; // high value to use on dial display
18
        int  High; // high value to use on dial display
18
        int  TickScale; // Scale values by this to give tick spacing
19
        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
          // 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
        int DP; // Number of decimal places to display
21
} PLX_DisplayInfo;
22
} PLX_DisplayInfo;
22
 
23
 
23
 
24
 
24
extern PLX_DisplayInfo DisplayInfo[];
25
extern PLX_DisplayInfo DisplayInfo[];
25
 
26