I need to count the seconds for an motor in OFF. For this, I have a timer that activates once the engine is in OFF state (working every single second). I’m having problems with accumulation seconds.It doesn’t work properly, because at the beginning it adds the seconds but sometimes, it adds faster. I don’t know if there is another way to solve this problem. Maybe, something like a stopwatch would be useful to count time in a more exactly way.
Thanks in adavance