Monitoring Fan RPMs in C

Status
Not open for further replies.

King of Camelot

New Member
Does anyone know how to monitor the RPMs of a fan if it is hooked up to a pin on the microcontroller? I read on some site that motherboards determine the RPMs by seeing how long it takes for the line to ground itself twice. Is this really how it is done? If so, I am guessing it is measured in millaseconds. Also, can anyone give me some example C code or explain how I would go about determining the RPMs? Thanks in advance
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…