I’m trying to connect this to one of the GoPiGo3 servo ports. The operating pulse length should be 1-2 ms and the period 20ms (=50 Hz).
Looking at the documentation for the Servo class in the Python library, i seems that the servo expected by the API has pulse length 0.575ms to 24.250 ms. I cannot see any mention of frequency but it cannot be any greater than 41 Hz (1/24.250 ms ~ 41Hz).
The python source code (I cannot add any more links but I’m l looking at gopigo3.py:439), on the other hand, indicates that 16.7 ms is the maximum pulse length which would give a frequency of no greater than 60Hz (I think I have seen this number somewhere else but I cannot find it now).
The C library source code (Looking at GoPiGo3.cpp:233 onwards) makes no mention of maximum pulse length. The maximum value of uint16 is 65535 so it is possible to input 65.5 ms pulse length there.
Can I manually set the frequency somehow? Or what is the best approach here? I have not been able to move my servo so far and I assume it is because I cannot match the specs of this servo (mainly the 50Hz).
Any help appreciated!