Controlling a 4-wired fan PWM Signal using Arduino allows only two settings
Fans don't use stock pwm frequencies. The PWM control frequency needs to be 25khz. A 16mhz arduino can do this relatively easily through software. Just search "4 wire fan arduino" and there's quite a few posts on it, including sample code to set the prescaler frequency so the output PWM is at 25khz.