I am following the Adafruit page regarding the ServoHat for the Raspberry Pi. I am unclear what module to import to get the PWM class. This is the page about using the PWM class: https://learn.adafruit.com/adafruit-16-channel-pwm-servo-hat-for-raspberry-pi/library-reference
They begin by running pwm = PWM(0x40)
. However, they don't specify what to import in order to get the PWM
class. Any help would be appreciated.
help(adafruit_servokit)
andhelp(adafruit_pca9685)
and neither of those modules contain a class calledPWM
.