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