i am looking to measure the time taken between two events in my current project on modustoolbox.
In my project, the user presses the enter key in the serial terminal to start and then presses the enter key again to finish.
I am looking to find the code on how to measure the time between these two enter keys and to then display the time taken again in the serial terminal.
The main problem is figuring out the code to measure this time period as once i can do that i will be able to display it.
To give you an idea i have attached an image of the serial terminal below:
I am new to psoc and modustoolbox so all help would be much appreciated!!