OS: JP 4.5.1
Jetbot: 4.3 image
I have asked this question on the Discussions on the Jetbot GitHub but have received no response.
Presently Adafruit is using a PWM switching frequency of 50Hz which is fine for servos, but causes an annoying whine from my Jetbot’s DC motors.
Therefore I would like to know where in the Adafruit motor driver packages can I change the PWM switching frequency from 50Hz to around 2k-2.5kHz?
Apparently the Jetbot 0.4.3 image no longer stores the Adafruit_MotorHAT packages here: “/usr/local/lib/python3.6/dist-packages/Adafruit_MotorHAT-1.4.0-py3.6.egg/Adafruit_MotorHAT/Adafruit_MotorHAT_Motors.py” as the “dist-packages” directory is empty now.