I have a state-machine-like structure and another while loop within the case structure. This while loop executes, by my approximations, about every 500ms, but I want to know the precise time.
How do I measure the time that a while loop consumes to execute exactly
once?
I've seen this done with a sequence structure, but unfortunately I don't know how to do it with a simple while loop.
Thank you,
Alex