This is source code from official feetech repository.
root dirrectory
|---scservo_sdk
|---sms_sts
|---scscl
|---hls
The 'scscl' 'sms_sts' 'hls' directories contain examples of using the library.
The source code of the library is located in the scservo_sdk
directory.
The 'scsservo_sdk' directory contains the original archive with the source code of the library from the developer.
Tested on Linux Raspbian GNU/Linux 9.13 (stretch). Python version Python 3.5.3
$ cd /usr/src/
$ sudo git clone https://github.com/ftservo/FTServo_Python.git
$ sudo chown -R pi FTServo_Python
$ cd FTServo_Python/sms_sts
$ python3 ping.py
Succeeded to open the port
Succeeded to change the baudrate
[ID:001] ping Succeeded. SCServo model number : 1540
Copy the sample file to any location convenient for you. In the example I use '/home/pi/FeetechTestFiles'
$ pip install ftservo-python-sdk
$ cd /home/pi/FeetechTestFiles/sms_sts
$ python3 ping.py
Succeeded to open the port
Succeeded to change the baudrate
[ID:001] ping Succeeded. SCServo model number : 1540