diff --git a/reference/speeduino.ini b/reference/speeduino.ini index 7c0f73f9..93ec9432 100644 --- a/reference/speeduino.ini +++ b/reference/speeduino.ini @@ -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 diff --git a/speeduino.ino b/speeduino.ino index d9d1355e..bbb411b8 100644 --- a/speeduino.ino +++ b/speeduino.ino @@ -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); }