Oh wow, thank you so much for putting in the effort, this is truly amazing ![]()
You've forgotton to put your name in the code, so i''ll put a link to your arduino forum profile and forum name ![]()
I'm still new to states and such, so it confuses me a little, but i get the grasp of the code, i shall test tomorrow ![]()
With this:
case CRANKING: // Crank until the engine starts - shouldn't there be a timeout of some sort?
HandleCrankingState();
break;
Does this mean that it will stop cranking when the alternatorpin goes high?
Because, when the car's running, the alternatorpin will go high, meaning the car can stop cranking. I chose this method over just a timeout because some mornings when it's cold, the car takes a little extra to start.
Regards, Matt.
And i think i owe you more than a beer ![]()
Chuck me your address in a PM and i'll mail you some australianbeer, i.e Victoria Bitter or Carlton Draught. ![]()
Also, with
I'm not clear from the spec what to do if you receive a start order and the engine is already running. I chose to assume something's wrong and just stop.
That's fine ![]()
Oh, and the car's an automatic too, so no need to worry about that issue.