2 different PWM frequencies on Attiny85 ?

I want to use an Attiny85 to control a cpu fan with PWM, and activate a buzzer if overheat.
So I would need 2 different frequencies.
One Fast PWM about 20 Khz for the fan, and a low frequency about 3.3 KHz for the buffer.
Is it possible to have 2 PWM with different frequencies ?
I tried to read the doc, and find information, but I can' find anything about this.
And I'm too lame to understand the doc :slight_smile:
Thanks.

Does your fan misbehave somehow at 3.3kHz frequency?

No, but just noisy.

How about tone() for the buzzer?

1 Like

Why didn't I think about it ? :slight_smile:
tone() works perfectly ...
Thanks a lot !
The worst thing is I'm not a total beginner witj Arduino ... Stupid :slight_smile: