Help!

Hi dear programmers.

I have a question about a code for counting the time between two square waves.

I am making a pulsegenerator with two 555 ic's. The task is to sendt out a single shot signal that returns and gets detected by the Arduino (to messure the lenght of an RJ45.)

Thanks for your help

Hello

Have you looked at pulseIn()?

Don't you think that a title that summarises what you want help with would be more useful? For example "Help to measure width of a pulse"

If you modify your Original Post you can change the title

...R

Hmmm. Doesn't electricity propagate through wire at about 95% the speed of light or about 285m per microsecond?
Doesn't micros() come in boxes of 4, 1140m per box? Hmmm.

WELCOME !

one of our pet peeves is subject lines that do not offer any clue as to what is needed.

my rule of thume is that if putting a subject line into google does not return something close, it is not very useful.

as a note, on the top of every forum is a sticky post labeled how to use this forum.
item #6 goes over how to write a subject line.
#7 covers code tags. something specific about this forum.

hate to hit you with this on your first post, but it will help get people who have experience in your needs find your post faster.

as a note, at the bottom of your post, on the right is a drop down to modify your post.

again welcome !

Sounds like you are building a time-domain reflectometer (TDR).

This is not as simple as you think. But it can be done with an Arduino and one or two peripherals.

Yes, your subject line is stupid. But now you know the right words to search for, you are smarter.