Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
EvanK4
Level 1
Level 1
5 questions asked 5 sign-ins First reply posted

Hello all,

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:

EvanK4_2-1651270650051.png

I am new to psoc and modustoolbox so all help would be much appreciated!!

Thank you,

Evan

0 Likes
1 Reply
AlenAn14
Moderator
Moderator
Moderator
500 replies posted 100 solutions authored 250 replies posted

HI @EvanK4 ,

Can you please let me know the PSoC Development Kit you are using for developing your firmware?

Warm Regards
Alen

0 Likes