v12 Proteus

This commit is contained in:
rusefi 2020-11-06 14:18:54 -05:00
parent 82196d35ff
commit 86bdb79c5a
3 changed files with 6 additions and 2 deletions

View File

@ -137,6 +137,9 @@ static void setupDefaultSensorInputs() {
// MAP = Analog volt 1 = PC0
engineConfiguration->map.sensor.hwChannel = EFI_ADC_10;
// pin #28 WBO AFR "Analog Volt 10"
engineConfiguration->afr.hwChannel = EFI_ADC_5;
}
static void setupSdCard() {

View File

@ -83,7 +83,7 @@ analog_inputs:
EFI_ADC_3: "Analog Volt 8"
# PA4 - pin #17
EFI_ADC_4: "Analog Volt 9"
# PA5
# PA5 - pin #28 WBO AFR
EFI_ADC_5: "Analog Volt 10"
# PA6 - pin #18
EFI_ADC_6: "Analog Volt 11"

View File

@ -289,7 +289,8 @@ void setEngineBMW_M73_Proteus(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
// set vbatt_divider 8.16
// engineConfiguration->vbattDividerCoeff = (49.0f / 10.0f) * 16.8f / 10.0f;
// todo: figure out exact values from TLE8888 breakout board used by Manhattan
engineConfiguration->vbattDividerCoeff = 7.6;
// engineConfiguration->vbattDividerCoeff = 7.6; // is that Proteus 0.2 value?
// GPIOE_0: "Lowside 14"