Code for a pc PWM fan controller