Control RPMS of a fan.

Hey guys,

I have this fan that has an build in tachometer.

And im wondering if someone could give me a quick crash course on how to program my arduino so I can read the rpms of the fan.


Consult the data sheet:

The pulsein function allows you to time pulses from the tachometer output.