I tried to connect a servo motor (ES08AII) to the XBee3 PWM output. It has a default frequency of 15635Hz
>>> pwm2 = PWM(‘P0’, duty=512)
According to the docs (https://www.digi.com/resources/documentation/digidocs/pdfs/90002219.pdf) there is no way to change this frequency:
Traceback (most recent call last):
File “”, line 1, in
NotImplementedError: can’t set PWM frequency
I tried to implement a 50hz/1600us cycle via sleep function, but it seems like this does not give enough precision for the motor.
Is there a way to control the servo via the XBee3?
Are there plans to implement the .freq() function in the near future?