Hello, I am using lm3s8962 mcu and stellarisware6594 as library.
I have been struggling to code to work hc-sr04 sensor to get distance.
I would like to know how to calculate elapsed time between two points.
For example, when I output GPIO pulse high, and by the time that GPIO pulse changes low. I want to know how long high pulse elapses.
I thought of getting the clock numbers at the two points and subtract them. Because I know how long a clock takes (since using 8mhz clocks)
I thought of using SysTickValueGet() but I couldn't use it.
Can anyone help me out? I would really appreciate your help.
Dognseop