Forum >DFRobot DF9GMS servo control on Adafruit servo HAT
DFRobot DF9GMS servo control on Adafruit servo HAT

I have attached the DF9GMS servo along with Adafruit pan/tilt servo kit to the 16 channel servo HAT on Raspberry Pi and am trying to control the motor using a modified version of this sample app (link below). The channel I set for this servo is 12. If I use pwm.set_pwm(12, 0, 1), the command turns on a continuous clockwise direction and pwm.set_pwm(12, 0, 0) stops the spin but I cannot do anything else, like change direction.
https://github.com/adafruit/Adafruit_Py ... pletest.py
I looked at this tutorial code (link below) to try to duplicate it in python but was unsuccessful.
https://www.dfrobot.com/blog-694.html
Are the any sample python code that might help me control the DF9GMS on the PCA9685?
https://github.com/adafruit/Adafruit_Py ... pletest.py
I looked at this tutorial code (link below) to try to duplicate it in python but was unsuccessful.
https://www.dfrobot.com/blog-694.html
Are the any sample python code that might help me control the DF9GMS on the PCA9685?