PCA9685: how "unset" PWM signal? I use my Arduino with Adafruit PCA9685 servo controller. To set PWM signals I use the provided library: https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library

It allows easily set PMM signal and works good. But how can I "unset" PWM signal for a certain pin?

If a PWM siganl is active, the servo stucks on the current position and can't be moved by hand, but only by setting other pulse length. So I need to move servo and then "free" it.
You could try changing the corresponding pin from output to input.
To be sure not to disturb other comfigurations you could do direct port manipulation.

void servo_off() {
  DDRD &amp;= ~(1&lt;&lt;PD5);
}

void servo_on() {
  DDRD |= (1&lt;&lt;PD5);
}


This assumes you use pin PD5 for the pwm signal. Adjust the "D" in DDRD and PD5 so it matches the port in use as well as the pin number.

Of course, you need some additional user input like a button to trigger calls to those functions.