mirror of
https://github.com/stevenhowes/MX5-Arduino.git
synced 2026-05-27 00:03:37 +01:00
Cleanup and node-red flow for diagnostics
This commit is contained in:
@@ -62,7 +62,6 @@ void cas_process()
|
|||||||
cas_sync_fail = 0;
|
cas_sync_fail = 0;
|
||||||
cas_sync_fail_log = 0;
|
cas_sync_fail_log = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use this number because we KNOW it's right
|
// Use this number because we KNOW it's right
|
||||||
@@ -115,7 +114,6 @@ void cas_process()
|
|||||||
// Save current state
|
// Save current state
|
||||||
cas_sgt_lastvalue = sgt;
|
cas_sgt_lastvalue = sgt;
|
||||||
|
|
||||||
|
|
||||||
// SGC is the once per revolution pulse. Used to identify when Cyl 1 is TDC (as opposed to 4)
|
// SGC is the once per revolution pulse. Used to identify when Cyl 1 is TDC (as opposed to 4)
|
||||||
// and is also handy for determining RPM if you trigger on the leading edge
|
// and is also handy for determining RPM if you trigger on the leading edge
|
||||||
byte sgc = digitalRead(pin_cas_sgc);
|
byte sgc = digitalRead(pin_cas_sgc);
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user