L D[AR2P#0.0]
Lifetime Supporting Member
Yes.
Yes, first post is the start of the timing, second post is the end of timing. The first network is blank from when the block was created.
The second block keeps the timer going and reads the elapsed time. The timer is only started in the first block. If you stop a TON timer the elapsed time resets to zero.
Here's my state diagram - state 0 is when you start with the ball in the centre of the pitch. At each interrupt read the system time and store it. When you get to a state where the speed can be calculated, find the difference in the times.