blinking more LEDs

This commit is contained in:
rusefi 2020-08-31 17:15:04 -04:00
parent 65ed7f6dad
commit 6f0267fb7e
1 changed files with 24 additions and 22 deletions

View File

@ -537,14 +537,26 @@ void mreBoardNewTest(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
engineConfiguration->ignitionPins[7 - 1] = TLE8888_PIN_11; engineConfiguration->ignitionPins[7 - 1] = TLE8888_PIN_11;
engineConfiguration->ignitionPins[8 - 1] = TLE8888_PIN_12; engineConfiguration->ignitionPins[8 - 1] = TLE8888_PIN_12;
// LED #8
// TLE8888 half bridges (pushpull, lowside, or high-low) IN12
// GPIOE_8: "35 - GP Out 1"
engineConfiguration->ignitionPins[9 - 1] = GPIOE_8;
// LED #1
// GPIOE_7: "34 - GP Out 2"
engineConfiguration->ignitionPins[10- 1] = TLE8888_PIN_22;//GPIOE_7;
// LED #2
// TLE8888_PIN_23: "33 - GP Out 3"
engineConfiguration->ignitionPins[11 - 1] = TLE8888_PIN_23;
// LED #7
// TLE8888_PIN_24: "43 - GP Out 4"
engineConfiguration->ignitionPins[12 - 1] = TLE8888_PIN_24;
engineConfiguration->afr.hwChannel = EFI_ADC_NONE; engineConfiguration->afr.hwChannel = EFI_ADC_NONE;
engineConfiguration->throttlePedalPositionAdcChannel = EFI_ADC_NONE; engineConfiguration->throttlePedalPositionAdcChannel = EFI_ADC_NONE;
engineConfiguration->ignitionPins[9 - 1] = GPIOB_1; // AV9
engineConfiguration->ignitionPins[10 - 1] = GPIOB_0; // AV8
engineConfiguration->ignitionPins[11 - 1] = GPIOA_4; // AV10
engineConfiguration->ignitionPins[12 - 1] = GPIOC_4; // AV6
@ -568,27 +580,17 @@ void mreBoardNewTest(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
engineConfiguration->injectionPins[6 - 1] = GPIOE_14; engineConfiguration->injectionPins[6 - 1] = GPIOE_14;
engineConfiguration->injectionPins[7 - 1] = TLE8888_PIN_13; engineConfiguration->injectionPins[7 - 1] = GPIOA_4; // AV10
engineConfiguration->injectionPins[8 - 1] = GPIOB_1; // AV9
engineConfiguration->injectionPins[9 - 1] = GPIOB_0; // AV8
engineConfiguration->injectionPins[10 - 1] = GPIOC_4; // AV6
engineConfiguration->injectionPins[8 - 1] = TLE8888_PIN_10; engineConfiguration->injectionPins[11- 1] = TLE8888_PIN_13;
engineConfiguration->injectionPins[12- 1] = TLE8888_PIN_10;
// LED #8
// TLE8888 half bridges (pushpull, lowside, or high-low) IN12
// GPIOE_8: "35 - GP Out 1"
engineConfiguration->injectionPins[9 - 1] = GPIOE_8;
// LED #1
// GPIOE_7: "34 - GP Out 2"
engineConfiguration->injectionPins[10- 1] = TLE8888_PIN_22;//GPIOE_7;
// LED #2
// TLE8888_PIN_23: "33 - GP Out 3"
engineConfiguration->injectionPins[11 - 1] = TLE8888_PIN_23;
// LED #7
// TLE8888_PIN_24: "43 - GP Out 4"
engineConfiguration->injectionPins[12 - 1] = TLE8888_PIN_24;
#endif /* BOARD_TLE8888_COUNT */ #endif /* BOARD_TLE8888_COUNT */