In my project I want to control a fan and some LED's with PWM. I have 3 LED's on PWM 9,10,11 and they work (can set different brightness levels with analogWrite). I tried to do the same with Pin 6 for the fan. There it doesn't work. It seems as if it can only switch between full and nothing... Looks the same if i use digitalWrite instead of analogWrite. I connected a LED to Pin 6 and it doesn't work too. If I measure the voltage, it's always on ~5V. If I measure it on 9/10/11 it very with my analogeWrite Value between 0 and 5V... When I tried it with Pin 13 it was the same.
Could the PWM on Pin 6 and 13 be disabled? How did I do that? I tried to increase the frequency of the PWM so that the fan doesn't make noise. Maybe I had a wrong code there? Is it possible to factory reset all Timers on my Micro? Or how could I enable them again? Any other ideas what could cause the problem?
Thanks for your help!