- Wed Feb 26, 2020 4:47 am
#41178
hello, today i was playing with my speeduino board and when i did a simulation of 1 cylinder with basic distributor, i noticed that there was no fuel injection. as I had already tested in the previous firmwares, and it worked normally, I decided to analyze the decoder.ino code.
I found the following differences:
tempRPM = crankingGetRPM( (triggerActualTeeth / 2) );
changed to:
tempRPM = crankingGetRPM(triggerActualTeeth) << 1;
revolutionTime = revolutionTime >> 1;
then 1 cylinder started working again.
Hope this helps.
I found the following differences:
tempRPM = crankingGetRPM( (triggerActualTeeth / 2) );
changed to:
tempRPM = crankingGetRPM(triggerActualTeeth) << 1;
revolutionTime = revolutionTime >> 1;
then 1 cylinder started working again.
Hope this helps.