adafruit / Adafruit_CircuitPython_PCA9685

Adafruit CircuitPython driver for PCA9685 16-channel, 12-bit PWM LED & servo driver chip.
MIT License
120 stars 64 forks source link

Outdated tutorial? #63

Open Szabolcs2008 opened 1 month ago

Szabolcs2008 commented 1 month ago

I got a PCA9685 pwm board, and I want to control LEDs with it. But I can't find functions that are in the tutorial: set_pwm_freq(freq), set_pwm(channel, on, off). Are these outdated and removed, or am I searching in the wrong place? I looked at the servo library too, I couldn't find it there

The tutorial I followed: https://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi/ https://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi/library-reference

tannewt commented 1 month ago

They are outdated. A newer non-servo example is here: https://docs.circuitpython.org/projects/pca9685/en/latest/examples.html