AlphaX
This commit is contained in:
parent
34205ce3fa
commit
65d42451d4
|
@ -62,8 +62,7 @@ static void setupVbatt() {
|
|||
// 33k / 6.8k
|
||||
engineConfiguration->vbattDividerCoeff = (33 + 6.8) / 6.8; // 5.835
|
||||
|
||||
// pin input +12 from Main Relay
|
||||
engineConfiguration->vbattAdcChannel = EFI_ADC_5; // 4T
|
||||
engineConfiguration->vbattAdcChannel = H144_IN_VBATT;
|
||||
|
||||
engineConfiguration->adcVcc = 3.29f;
|
||||
}
|
||||
|
|
|
@ -7,6 +7,8 @@ pins:
|
|||
color: black
|
||||
|
||||
- pin: A2
|
||||
id: EFI_ADC_5
|
||||
class: analog_inputs
|
||||
function: +12V
|
||||
type: 12V
|
||||
color: red
|
||||
|
|
|
@ -56,7 +56,7 @@ static void setupVbatt() {
|
|||
engineConfiguration->vbattDividerCoeff = (33 + 6.8) / 6.8; // 5.835
|
||||
|
||||
// pin input +12 from Main Relay
|
||||
engineConfiguration->vbattAdcChannel = EFI_ADC_5; // 4T
|
||||
engineConfiguration->vbattAdcChannel = H144_IN_VBATT; // 4T
|
||||
|
||||
engineConfiguration->adcVcc = 3.29f;
|
||||
}
|
||||
|
|
|
@ -70,10 +70,12 @@ void detectHellenBoardType();
|
|||
// IN_IAT AIN14 PC3
|
||||
#define H144_IN_IAT EFI_ADC_13
|
||||
|
||||
// IN_TPS AIN17 PA4
|
||||
#define H144_IN_TPS EFI_ADC_4
|
||||
// IN_PPS AIN18 PA3
|
||||
#define H144_IN_PPS EFI_ADC_3
|
||||
// IN_TPS AIN17 PA4
|
||||
#define H144_IN_TPS EFI_ADC_4
|
||||
// VIGN PA5
|
||||
#define H144_IN_VBATT EFI_ADC_5
|
||||
|
||||
// IN_MAP1 AIN9 PC0
|
||||
#define H144_IN_MAP1 EFI_ADC_10
|
||||
|
|
Loading…
Reference in New Issue