2 ultra sonic sensor questions

Hey all, I'm a beginner at this arduino course.

I have a few question to ask.

If I have 2 ultra sonic sensors, I want 2 use this sensors to measure how fast people are walking. What code do I need to calculate the time when someone walk pass my first sensor to my second sensors

Thanks

You need code to note what time it was when they walked past the first sensor (millis ()), then the time when they walked past the second.
You need a constant to let your software know what the distance between your sesnors is.
How you figure out if it's the same person is your problem :wink: