parent
b3a661d5ae
commit
5ead4eeaea
|
@ -55,6 +55,7 @@ pins:
|
|||
meta: MM176_OUT_IO4
|
||||
class: outputs
|
||||
ts_name: 9C - Low Side 4
|
||||
color: yellow
|
||||
|
||||
|
||||
- pin: 10C
|
||||
|
|
|
@ -188,6 +188,7 @@ pins:
|
|||
class: outputs
|
||||
type: inj
|
||||
ts_name: 26D - Injector 10
|
||||
color: yellow
|
||||
|
||||
info:
|
||||
title: AlphaX Platinum
|
||||
|
|
|
@ -199,6 +199,11 @@ void setGmLtg() {
|
|||
#ifdef HW_HELLEN_8CHAN
|
||||
engineConfiguration->oilPressure.hwChannel = MM176_IN_MAP1_ANALOG; // 2A Aux Analog 4
|
||||
engineConfiguration->invertCamVVTSignal = true;
|
||||
|
||||
engineConfiguration->triggerInputPins[0] = Gpio::MM176_IN_D4; // 9A - Hall Input 4
|
||||
|
||||
engineConfiguration->luaOutputPins[0] = Gpio::MM176_OUT_IO1; // 7C - High Side 3 - unusual starter
|
||||
engineConfiguration->luaOutputPins[1] = Gpio::MM176_OUT_IO4, // 9C - Low Side 4 - unusual starter
|
||||
#endif // HW_HELLEN_8CHAN
|
||||
strcpy(engineConfiguration->engineCode, "LTG");
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ startPwm(finderIndex, 100, 0)
|
|||
|
||||
function onTick()
|
||||
if isOn and t : getElapsedSeconds() > 0.5 then
|
||||
setPwmDuty(finderIndex, 100)
|
||||
setPwmDuty(finderIndex, 0)
|
||||
isOn = false
|
||||
setLuaGauge(2, 0)
|
||||
print("Turning OFF")
|
||||
|
|
Loading…
Reference in New Issue