rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
slingshot.cpp
Go to the documentation of this file.
1/*
2https://rusefi.com/docs/pinouts/hellen/hellen-112-17/
3*/
4
5#include "pch.h"
6#include "defaults.h"
7#include "proteus_meta.h"
8
9// set engine_type 33
10// ME17_9_MISC
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()
void setSlingshot()
Definition slingshot.cpp:11
brain_input_pin_e triggerInputPins[TRIGGER_INPUT_PIN_COUNT]