mirror of https://github.com/rusefi/wideband.git
dual.ini: EGT state indicator and gauge (#154)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
This commit is contained in:
parent
5f6e62a7e0
commit
cb42cf6f27
|
@ -137,14 +137,18 @@ AFR1_HeaterDuty = scalar, F32, 84, "%", 100, 0, 0.0, 100.0, 0
|
|||
; EGT0
|
||||
EGT0_temp = scalar, F32, 96, "C", 1, 0, -250.0, 1600.0, 0
|
||||
EGT0_coldJunction = scalar, F32, 100, "C", 1, 0, -55.0, 127.0, 0
|
||||
EGT0_state = scalar, U08, 104, "", 1, 0, 0, 4, 0
|
||||
|
||||
; EGT1
|
||||
EGT1_temp = scalar, F32, 112, "C", 1, 0, -250.0, 1600.0, 0
|
||||
EGT1_coldJunction = scalar, F32, 116, "C", 1, 0, -55.0, 127.0, 0
|
||||
EGT1_state = scalar, U08, 120, "", 1, 0, 0, 4, 0
|
||||
|
||||
seconds = scalar, U32, 124, "sec", 1, 0
|
||||
|
||||
[PcVariables]
|
||||
; Keep in sync with Max31855State enum from max31855.h
|
||||
EgtStatesList = bits, U08, [0:7], "Ok", "Open Circuit", "Short to GND", "Short to VCC", "No reply"
|
||||
|
||||
[TableEditor]
|
||||
|
||||
|
@ -181,12 +185,14 @@ gaugeCategory = EGT channel 0
|
|||
; Name = Channel, Title, Units, Lo, Hi, LoD, LoW, HiW, HiD, vd, ld, Active
|
||||
EGT0_Gauge = EGT0_temp, "0: EGT", "C", 0.0, 1600.0, 100.0, 250.0, 900.0, 1000.0, 2, 2
|
||||
EGT0_ColdJunctionGauge = EGT0_coldJunction, "0: EGT CJ", "C", 0.0, 130.0, -55.0, -20.0, 95.0, 105.0, 2, 2
|
||||
EGT0_StateGauge = EGT0_state, "0: EGT state", "", 0.0, 5.0, 0.0, 0.0, 0.5, 0.5, 2, 2
|
||||
|
||||
; EGT1
|
||||
gaugeCategory = EGT channel 1
|
||||
; Name = Channel, Title, Units, Lo, Hi, LoD, LoW, HiW, HiD, vd, ld, Active
|
||||
EGT1_Gauge = EGT1_temp, "1: EGT", "C", 0.0, 1600.0, 100.0, 250.0, 900.0, 1000.0, 2, 2
|
||||
EGT1_ColdJunctionGauge = EGT1_coldJunction, "1: EGT CJ", "C", 0.0, 130.0, -55.0, -20.0, 95.0, 105.0, 2, 2
|
||||
EGT1_StateGauge = EGT1_state, "1: EGT state", "", 0.0, 5.0, 0.0, 0.0, 0.5, 0.5, 2, 2
|
||||
|
||||
[FrontPage]
|
||||
; Gauges are numbered left to right, top to bottom.
|
||||
|
@ -203,6 +209,9 @@ EGT1_ColdJunctionGauge = EGT1_coldJunction, "1: EGT CJ", "C",
|
|||
gauge7 = EGT1_Gauge
|
||||
gauge8 = TestGauge
|
||||
|
||||
indicator = { EGT0_state }, "EGT0 ok", { EGT0: bitStringValue(EgtStatesList, EGT0_state)}, green, black, red, black
|
||||
indicator = { EGT1_state }, "EGT1 ok", { EGT1: bitStringValue(EgtStatesList, EGT1_state)}, green, black, red, black
|
||||
|
||||
[KeyActions]
|
||||
|
||||
[Datalog]
|
||||
|
|
Loading…
Reference in New Issue