This commit is contained in:
rusefillc 2022-05-23 00:40:11 -04:00
parent f8be6b1e3b
commit 74958160ce
3 changed files with 52 additions and 3 deletions

View File

@ -67,14 +67,18 @@ static void setupVbatt() {
static void setupDefaultSensorInputs() {
// trigger inputs, hall
engineConfiguration->triggerInputPins[0] = H144_IN_CRANK;
engineConfiguration->triggerInputPins[0] = H144_IN_SENS2;
engineConfiguration->triggerInputPins[1] = Gpio::Unassigned;
engineConfiguration->triggerInputPins[2] = Gpio::Unassigned;
engineConfiguration->camInputs[0] = H144_IN_CAM;
engineConfiguration->camInputs[0] = H144_IN_SENS4;
engineConfiguration->tps1_1AdcChannel = EFI_ADC_4;
engineConfiguration->tps1_1AdcChannel = H144_IN_TPS;
engineConfiguration->tps1_2AdcChannel = H144_IN_AUX1;
engineConfiguration->tps2_1AdcChannel = EFI_ADC_NONE;
engineConfiguration->throttlePedalPositionAdcChannel = H144_IN_PPS;
engineConfiguration->throttlePedalPositionSecondAdcChannel = H144_IN_AUX2;
engineConfiguration->mafAdcChannel = EFI_ADC_10;
engineConfiguration->map.sensor.hwChannel = EFI_ADC_11;

View File

@ -105,6 +105,33 @@ pins:
function: igniter
type: ign
- pin: 59
# H144_IN_SENS4
id: F6
class: outputs
ts_name: C2-59 - Cam
function: Cam Sensor Input
type: ls
color: purple
- pin: 64
# H144_IN_TPS
id: EFI_ADC_3
class: outputs
ts_name: C2-64 - TPS1
function: TPS1
type: ls
color: purple
- pin: 66
# H144_IN_AUX1
id: EFI_ADC_8
class: outputs
ts_name: C2-66 - TPS2
function: TPS2
type: ls
color: purple
- pin: 70
# H144_LS_4
id: D10

View File

@ -6,3 +6,21 @@ pins:
function: Fuel Pump Relay Output
type: hs
ts_name: C1-13 - Fuel Pump
- pin: 40
# H144_OUT_IO3
id: G14
class: outputs
ts_name: C1-40 - MAIN
function: Main relay control
type: ls
color: purple
- pin: 63
# H144_IN_SENS2
id: F4
class: outputs
ts_name: C1-63 - Crank
function: Crank Input
type: ls
color: purple