slow v12 progress
This commit is contained in:
parent
a33d479683
commit
9316272f90
|
@ -54,7 +54,8 @@ static void setIgnitionPins() {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setLedPins() {
|
static void setLedPins() {
|
||||||
engineConfiguration->communicationLedPin = GPIOE_4;
|
CONFIG(warningLedPin) = GPIOE_3;
|
||||||
|
CONFIG(communicationLedPin) = GPIOE_4;
|
||||||
engineConfiguration->runningLedPin = GPIOE_5;
|
engineConfiguration->runningLedPin = GPIOE_5;
|
||||||
engineConfiguration->triggerErrorPin = GPIOE_6;
|
engineConfiguration->triggerErrorPin = GPIOE_6;
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,11 +66,11 @@ analog_inputs:
|
||||||
EFI_ADC_2: "Analog Volt 7"
|
EFI_ADC_2: "Analog Volt 7"
|
||||||
# PA3
|
# PA3
|
||||||
EFI_ADC_3: "Analog Volt 8"
|
EFI_ADC_3: "Analog Volt 8"
|
||||||
# PA4
|
# PA4 - pin #17
|
||||||
EFI_ADC_4: "Analog Volt 9"
|
EFI_ADC_4: "Analog Volt 9"
|
||||||
# PA5
|
# PA5
|
||||||
EFI_ADC_5: "Analog Volt 10"
|
EFI_ADC_5: "Analog Volt 10"
|
||||||
# PA6
|
# PA6 - pin #18
|
||||||
EFI_ADC_6: "Analog Volt 11"
|
EFI_ADC_6: "Analog Volt 11"
|
||||||
# PA7
|
# PA7
|
||||||
EFI_ADC_7: "Analog Volt 12"
|
EFI_ADC_7: "Analog Volt 12"
|
||||||
|
|
|
@ -217,6 +217,8 @@ GPIOA_6
|
||||||
/**
|
/**
|
||||||
* set engine_type 63
|
* set engine_type 63
|
||||||
*
|
*
|
||||||
|
* https://github.com/mck1117/proteus/blob/master/readme_pinout.md
|
||||||
|
*
|
||||||
* black#3 : orange : injector #1
|
* black#3 : orange : injector #1
|
||||||
* black#4 : blue : injector #3
|
* black#4 : blue : injector #3
|
||||||
* black#5 : white : injector #5
|
* black#5 : white : injector #5
|
||||||
|
@ -244,6 +246,7 @@ GPIOA_6
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* white#9 : orange : +5v
|
* white#9 : orange : +5v
|
||||||
|
* white#17: green : PPS
|
||||||
* white#18: red
|
* white#18: red
|
||||||
* white#23: black : Sensor Ground
|
* white#23: black : Sensor Ground
|
||||||
* white#24: red : TPS#1
|
* white#24: red : TPS#1
|
||||||
|
@ -254,7 +257,7 @@ void setEngineBMW_M73_Proteus(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
|
|
||||||
// 12 injectors defined in boards/proteus/board_configuration.cpp
|
// 12 injectors defined in boards/proteus/board_configuration.cpp
|
||||||
|
|
||||||
engineConfiguration->throttlePedalPositionAdcChannel = EFI_ADC_6;
|
engineConfiguration->throttlePedalPositionAdcChannel = EFI_ADC_4;
|
||||||
|
|
||||||
// set vbatt_divider 8.16
|
// set vbatt_divider 8.16
|
||||||
// engineConfiguration->vbattDividerCoeff = (49.0f / 10.0f) * 16.8f / 10.0f;
|
// engineConfiguration->vbattDividerCoeff = (49.0f / 10.0f) * 16.8f / 10.0f;
|
||||||
|
|
Loading…
Reference in New Issue