rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions
slingshot.h File Reference

Functions

void setSlingshot ()
 

Function Documentation

◆ setSlingshot()

void setSlingshot ( )

Definition at line 11 of file slingshot.cpp.

11 {
12 strcpy(engineConfiguration->engineMake, "Polaris");
14 engineConfiguration->firingOrder = FO_1_4_3_2; // yes WOW that's not the most popular firing order!!!
15 engineConfiguration->injectionMode = IM_SEQUENTIAL;
16
18 engineConfiguration->vvtMode[0] = VVT_BOSCH_QUICK_START;
19
20 engineConfiguration->ignitionMode = IM_WASTED_SPARK; // just for now
23
24 // GM TMAP is recommended
25 setCustomMap(/*lowValue*/ 20, 0.3, 250, 4.65);
26
27#if HW_PROTEUS
28 engineConfiguration->triggerInputPins[0] = PROTEUS_VR_1;
29 engineConfiguration->camInputs[0] = PROTEUS_DIGITAL_2;
30 engineConfiguration->brakePedalPin = PROTEUS_DIGITAL_1;
31
32 engineConfiguration->auxAnalogInputs[0] = PROTEUS_IN_ANALOG_VOLT_4; // gear position signal
33 engineConfiguration->starterControlPin = Gpio::PROTEUS_LS_15;
34 engineConfiguration->startStopButtonPin = PROTEUS_DIGITAL_5;
36
39#endif // HW_PROTEUS
40}
void setCustomMap(float lowValue, float mapLowValueVoltage, float highValue, float mapHighValueVoltage)
static constexpr engine_configuration_s * engineConfiguration
void setProteusEtbIO()
brain_input_pin_e triggerInputPins[TRIGGER_INPUT_PIN_COUNT]

Referenced by applyEngineType().

Here is the call graph for this function:
Here is the caller graph for this function:

Go to the source code of this file.