Digital Pulse/Signal Counter using digitalRead ?

I want to read the signal

Which will either be HIGH or LOW.

and calculate it

it?

but i cant program this Arduino to read the signal

Well, you have our permission, so the problem is on your end.

my friend suggest me to use the digitalRead function and millis

So, did you?

Maybe you can give me a skecth to count the RPM described above.

I could SELL you one.