How to get a clock segnal frequency?

Hi.
how can i count a height frequency like a clock signal using my arduino or nodemc ?
i just want the code
i will use it to count the speed of a motor using this way
i will fix a disk on the motor
the disk has a hole and ir emmiter and reciever
i will count the pulses of the resiever

Lets see your best try, no one here is going to write code for you.

Google works !

As you gain experience, you’ll learn where to look.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.