Hi All,
I'm using a Fio board and controlling 2 RGB LEDs with pwm on pins 3,5,6 and 9,10,11. I'm also using the Stepper library for a small stepper motor. The pwm for the LEDs is producing an audible hum in my project that I want to get rid of. Can I change the pwm frequency without affecting millis(), which the Stepper library uses for timing?
I was reading here
http://arduino.cc/en/Tutorial/SecretsOfArduinoPWM under "Varying the timer top limit: fast PWM" but I'm not sure if it will work for both LEDs, etc.
Thanks,
Paul