Hi All,
I have a rather simple task, but have no experience with the Timedate library so posting here. How can I calculate the time duration between two events ? for example, have to calculate the time duration of a motor running, by calculation the time duration between the time I press the Start button till I press the Stop button.
So, its like time_elapsed = TimeStop - TimeStart;
I have a rather simple task, but have no experience with the Timedate library so posting here. How can I calculate the time duration between two events ? for example, have to calculate the time duration of a motor running, by calculation the time duration between the time I press the Start button till I press the Stop button.
So, its like time_elapsed = TimeStop - TimeStart;