I get the following error on loading TS v2.6.14:
Code: Select all
1 Errors:
Error: Variable 'adc6' used in expression, but not defined as OutputChannel or Setting Parameter in Mini MS3 No Fuel, Problem at:
[custom.ini]:[Line:2]: fuelSensorVoltage = { adc6 * 0.0048876 }
Code: Select all
[OutputChannels]
fuelSensorVoltage = { adc6 * 0.0048876 }
; No use 0psi=.5v 30psi=4.5v to calculate pressure from voltage
fuelPressure = { fuelSensorVoltage > 0 ? (fuelSensorVoltage - 0.5) / 0.1333333 : 0 }
[Datalog]
entry = fuelPressure , "Fuel Pressure", int, "%d"
I've created the gauge and the 'fuelPressure' variable is there. What am I doing wrong?
Jim