Minor corrections for 4g63 trigger
This commit is contained in:
parent
4aac9c0773
commit
eb92924282
|
@ -200,7 +200,7 @@ page = 4
|
|||
IgHold = scalar, U08, 4, "", 1, 0, 0, 100, 0
|
||||
TrigEdge = bits, U08, 5[0:0], "Leading", "Trailing"
|
||||
TrigSpeed = bits, U08, 5[1:1], "Crank Speed", "Cam Speed"
|
||||
IgInv = bits, U08, 5[2:2], "No", "Yes"
|
||||
IgInv = bits, U08, 5[2:2], "Going Low", "Going High"
|
||||
oddfire = bits, U08, 5[3:3], "No", "Yes"
|
||||
TrigPattern= bits, U08, 5[4:7], "Missing Tooth", "Basic Distributor", "Dual Wheel", "GM 7X", "4G63 / Miata", "GM 24X", "Jeep 2000", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
|
||||
IdleAdv = scalar, U08, 6, "Deg", 0.352,-28.4, -10, 80, 0
|
||||
|
@ -601,7 +601,7 @@ page = 7
|
|||
topicHelp = Shelp3
|
||||
field = "Cranking advance Angle", CrankAng
|
||||
;field = "Hold Ignition", IgHold
|
||||
field = "Spark Output Inverted (see F1)", IgInv
|
||||
field = "Spark Outputs triggers", IgInv
|
||||
field = ""
|
||||
field = "Fixed Angle (0 = use map)", FixAng
|
||||
;field = "Trim Angle", Trim
|
||||
|
|
|
@ -264,12 +264,12 @@ void setup()
|
|||
//These may both need to change, not sure
|
||||
if(configPage2.TrigEdge == 0)
|
||||
{
|
||||
attachInterrupt(triggerInterrupt, trigger, RISING); // Attach the crank trigger wheel interrupt (Hall sensor drags to ground when triggering)
|
||||
attachInterrupt(triggerInterrupt, trigger, CHANGE); // Attach the crank trigger wheel interrupt (Hall sensor drags to ground when triggering)
|
||||
attachInterrupt(triggerInterrupt2, triggerSec_4G63, FALLING);
|
||||
}
|
||||
else
|
||||
{
|
||||
attachInterrupt(triggerInterrupt, trigger, FALLING); // Primary trigger connects to
|
||||
attachInterrupt(triggerInterrupt, trigger, CHANGE); // Primary trigger connects to
|
||||
attachInterrupt(triggerInterrupt2, triggerSec_4G63, RISING);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue