Subversion Repositories DashDisplay

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 mjames 1
/*
2
 * displayinfo.c
3
 *
4
 *  Created on: 19 Oct 2016
5
 *      Author: Mike
6
 */
7
 
8
 
9
#include "displayinfo.h"
10
 
11
 
12
PLX_DisplayInfo DisplayInfo[] =
13
{                   // Units, min, max, scaleticks, decimal places
14
  [PLX_AFR] =       { "AFR", 1, 10,    20,     1 , 1 },   // 10 to 20 , tick every 1 unit   Wideband Air/Fuel
15
  [PLX_EGT] =       { "EGT", 0,  0,  1000,   100 , 0 },   //EGT
16
  [PLX_FluidTemp] = { "Temp",0,  0,   200,    10 , 0 },   //Fluid Temp
17
  [PLX_Vac] =       { "VAC",  0,  -100,  0,    10, 0 },   //Vac
18
  [PLX_Boost] =     { "Boost", 0, 0,    200,   10, 0 },   //Boost
19
  [PLX_AIT] =       { "AIT",   0, 0,    100,   10, 0 },   //AIT
20
  [PLX_RPM] =       { "RPM",   0, 0,   6000,  1000,0 },   // RPM
21
  [PLX_Speed] =     { "Speed",  0, 0,    100,   10, 0 },   //Speed
22
  [PLX_TPS]   =     { "TPS",   0, 0,    100,   10, 0 },  //Throttle Position Sensor
23
  [PLX_Load]  =         { "Load" , 0, 0,    100,   10, 0 },   //Engine Load
24
  [PLX_FluidPressure] = { "Press", 0, 0,  100,   10, 0 },  //Fluid Pressure
25
  [PLX_Timing] =    { "Timing"    , 0, -45, 45,   10, 1 }, //Engine timing
26
  [PLX_MAP] =           { "MAP"      , 0,  0,  1100,   100,  0 },  //MAP
27
  [PLX_MAF] =       { "MAF",       0 , 0,  10,   1, 0  }, //MAF
28
  [PLX_ShortFuel] = { "ShFu",       0,  0, 100,   1, 0  }, //Short term fuel trim
29
  [PLX_LongFuel] =      { "LoFu",       0,  0, 100,  1, 0   },//Long term fuel trim
30
  [PLX_NBO2] =      { "NBO2",       0,  0, 1,    1, 2   },//Narrowband O2 sensor
31
  [PLX_Knock] =     { "Knock",      0,  0, 5,    1, 1   }, //Knock
32
  [PLX_Fuel] =      { "Fuel",       0,  0, 100,  10, 0  },   //Boost
33
  [PLX_Duty] =      { "Duty",       0,  0, 100,  10, 0  },  //Duty cycle
34
  [PLX_Volts] =         { "Volts",      0,  0, 20,   5,  2  },  //Volts
35
  [PLX_X_CHT] =       { "CHT",        0,  0,  300, 100,  0 },   // Cylinder headd temperature
36
};
37
 
38