2017-01-19 14:04:15 -08:00
|
|
|
// this https://en.wikipedia.org/wiki/Reverse_Polish_notation is generated automatically
|
|
|
|
// from controllers/system_fsio.txt
|
2017-04-27 10:05:48 -07:00
|
|
|
// on 2017-04-25_15_33_33
|
2017-01-19 14:04:15 -08:00
|
|
|
//
|
|
|
|
//
|
|
|
|
// in this file we define system FSIO expressions
|
|
|
|
//
|
|
|
|
// see http://rusefi.com/wiki/index.php?title=Manual:Flexible_Logic
|
|
|
|
//
|
|
|
|
// Jan 19, 2017
|
|
|
|
// Andrey Belomutskiy, (c) 2012-2017
|
|
|
|
//
|
|
|
|
|
|
|
|
// Human-readable: (fan and (coolant > fan_off_setting)) | (coolant > fan_on_setting)
|
2017-04-25 05:29:24 -07:00
|
|
|
#define FAN_CONTROL_LOGIC "fan coolant fan_off_setting > and coolant fan_on_setting > |"
|
|
|
|
// todo: start-up fuel pump priming time should probably be configurable?
|
2017-01-19 14:04:15 -08:00
|
|
|
|
|
|
|
// Human-readable: (time_since_boot < 4) | (rpm > 0)
|
|
|
|
#define FUEL_PUMP_LOGIC "time_since_boot 4 < rpm 0 > |"
|
|
|
|
|
|
|
|
// Human-readable: vbatt < 14.5
|
|
|
|
#define ALTERNATOR_LOGIC "vbatt 14.5 <"
|
|
|
|
|
|
|
|
// Human-readable: ac_on_switch
|
|
|
|
#define AC_RELAY_LOGIC "ac_on_switch"
|
2017-04-25 05:29:24 -07:00
|
|
|
|
2017-04-27 10:05:48 -07:00
|
|
|
// Human-readable: (rpm > fsio_setting(2)) | ((coolant > fsio_setting(3)) | (vbatt < fsio_setting(4)))
|
|
|
|
#define COMBINED_WARNING_LIGHT "rpm 2 fsio_setting > coolant 3 fsio_setting > vbatt 4 fsio_setting < | |"
|