Tone uses the same timer as the PWM relies on.
So you have to replace one function with an alternative.
Like a software PWM
http://www.elcojacobs.com/shiftpwm/
Tone uses the same timer as the PWM relies on.
So you have to replace one function with an alternative.
Like a software PWM
http://www.elcojacobs.com/shiftpwm/