reading rpm signal from cpu fan

I wrote this a while ago:

http://www.arduino.cc/playground/Main/ReadingRPM

Hope it helps,
-Z-