A/C NA6 compressor progress
This commit is contained in:
parent
842d640c4c
commit
0b8ebdbf96
|
@ -276,6 +276,10 @@ void setMiataNA6_MAP_Frankenso(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
// green wire from 1Q/W17 to bottom of W46
|
||||
engineConfiguration->acSwitchAdc = EFI_ADC_6; // PA6
|
||||
|
||||
// W57 PE3 A/C compressor relay out
|
||||
boardConfiguration->acRelayPin = GPIOE_3;
|
||||
// W58 PE4 A/C fan relay out
|
||||
|
||||
miataNAcommon(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
}
|
||||
|
||||
|
|
|
@ -123,6 +123,7 @@ public:
|
|||
void stopIgnitionPins();
|
||||
OutputPin mainRelay;
|
||||
OutputPin fanRelay;
|
||||
// see acRelayPin
|
||||
OutputPin acRelay;
|
||||
OutputPin fuelPumpRelay;
|
||||
OutputPin o2heater;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// this https://en.wikipedia.org/wiki/Reverse_Polish_notation is generated automatically
|
||||
// from controllers/system_fsio.txt
|
||||
// on 2019-05-31_16_20_04
|
||||
// on 2019-09-08_16_41_20_788
|
||||
//
|
||||
//
|
||||
// in this file we define system FSIO expressions
|
||||
|
@ -25,8 +25,8 @@
|
|||
// Human-readable: coolant > 120
|
||||
#define TOO_HOT_LOGIC "coolant 120 >"
|
||||
|
||||
// Human-readable: ac_on_switch
|
||||
#define AC_RELAY_LOGIC "ac_on_switch"
|
||||
// Human-readable: ac_on_switch & rpm > 850
|
||||
#define AC_RELAY_LOGIC "ac_on_switch rpm & 850 >"
|
||||
// Combined RPM, CLT and VBATT warning light
|
||||
|
||||
// Human-readable: (rpm > fsio_setting(2)) | ((coolant > fsio_setting(3)) | (vbatt < fsio_setting(4)))
|
||||
|
|
|
@ -17,7 +17,7 @@ ALTERNATOR_LOGIC=vbatt < 14.5
|
|||
|
||||
TOO_HOT_LOGIC=coolant > 120
|
||||
|
||||
AC_RELAY_LOGIC=ac_on_switch
|
||||
AC_RELAY_LOGIC=ac_on_switch & rpm > 850
|
||||
|
||||
# Combined RPM, CLT and VBATT warning light
|
||||
COMBINED_WARNING_LIGHT=(rpm > fsio_setting(2)) | ((coolant > fsio_setting(3)) | (vbatt < fsio_setting(4)))
|
||||
|
|
Loading…
Reference in New Issue