- Sat Jul 30, 2022 5:35 pm
#57969
Oh man! I am getting consistent RPM! I got a fresh copy of speeduino 202210-dev and just did small modifications to Jeep2000 locally then worked up to add all 16 tooth angles, decoderIsSequential=true, added some lines to deal with revolution. I am wondering if more logic needs to be added to triggerSec to handle all 16 teeth, something like:
Code: Select all
void triggerSec_Jeep1994CNP4cyl()
{
if(toothCurrentCount < 17) {toothCurrentCount = 0; revolutionOne = 1; } //happens when cam sensor goes high first time after two crank cycles and resets tooth count back to zero, indicating that we're at the beginning of a new revolution
return;
}