slow v12 progress

This commit is contained in:
rusEfi 2020-03-07 00:45:45 -05:00
parent 0e8acf6514
commit bf6082b828
3 changed files with 8 additions and 4 deletions

View File

@ -54,7 +54,8 @@ static void setIgnitionPins() {
}
static void setLedPins() {
engineConfiguration->communicationLedPin = GPIOE_4;
CONFIG(warningLedPin) = GPIOE_3;
CONFIG(communicationLedPin) = GPIOE_4;
engineConfiguration->runningLedPin = GPIOE_5;
engineConfiguration->triggerErrorPin = GPIOE_6;
}

View File

@ -66,11 +66,11 @@ analog_inputs:
EFI_ADC_2: "Analog Volt 7"
# PA3
EFI_ADC_3: "Analog Volt 8"
# PA4
# PA4 - pin #17
EFI_ADC_4: "Analog Volt 9"
# PA5
EFI_ADC_5: "Analog Volt 10"
# PA6
# PA6 - pin #18
EFI_ADC_6: "Analog Volt 11"
# PA7
EFI_ADC_7: "Analog Volt 12"

View File

@ -217,6 +217,8 @@ GPIOA_6
/**
* set engine_type 63
*
* https://github.com/mck1117/proteus/blob/master/readme_pinout.md
*
* black#3 : orange : injector #1
* black#4 : blue : injector #3
* black#5 : white : injector #5
@ -244,6 +246,7 @@ GPIOA_6
*
*
* white#9 : orange : +5v
* white#17: green : PPS
* white#18: red
* white#23: black : Sensor Ground
* 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
engineConfiguration->throttlePedalPositionAdcChannel = EFI_ADC_6;
engineConfiguration->throttlePedalPositionAdcChannel = EFI_ADC_4;
// set vbatt_divider 8.16
// engineConfiguration->vbattDividerCoeff = (49.0f / 10.0f) * 16.8f / 10.0f;