We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello everybody,
I am trying to calculate the time spent by the controller (LM3S2965) between 2 moments of time
The following syntax:
clock_t interval;
ENTER A CONDITIONAL interval = clock(); Send the interval . . . . ENTER AGAIN THE SAME CONDITIONAL intrerval = clock(); Send the interval
does compile but after compilation the controller acts as it is blocked. If I comment the line "interval = clock()" it functions again.
I cannot figure out what is the problem. Thank you in advance!!!