I'm doing an Arduino Project with 2 servos, 1 buzzer and 1 RGB led...
I'm with an Arduino Uno Board, with 6 PWM pins (3, 5, 6, 9, 10, 11)...
The problem is, I need 3 pins with PWM to RGB led. But the servo library disables PWM on pins 9 and 10. From https://www.arduino.cc/reference/en/libraries/servo/ :
On boards other than the Mega, use of the library disables analogWrite() (PWM) functionality on pins 9 and 10, whether or not there is a Servo on those pins.
And tone() function to use the buzzer interfere with PWM output on pins 3 and 11. From https://www.arduino.cc/reference/en/language/functions/advanced-io/tone/ : Use of the tone() function will interfere with PWM output on pins 3 and 11 (on boards other than the Mega).
So, there is only pins 5 and 6 to my RGB led...
Is there some way to use Servo without the library? Or to control the buzzer without the tone() function?