SSC32 controlling library
Project description
Is a simple interface for control RC servos using SSC32 controller.
Example
>>> import ssc32
>>> ssc = ssc32.SSC32('/dev/ttyUSB0', 115200, count=32)
>>> ssc[2].position = 2000
>>> ssc[3].name = 'pan'
>>> ssc[4].name = 'tilt'
>>> pan_servo = ssc['pan']
>>> tilt_servo = ssc['tilt']
>>> pan_servo.degree = 0
>>> ssc.commit(time=1000)
>>> ssc.is_done()
False
>>> ssc.is_done()
True
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyssc32-0.3.2.tar.bz2
(4.0 kB
view details)
File details
Details for the file pyssc32-0.3.2.tar.bz2.
File metadata
- Download URL: pyssc32-0.3.2.tar.bz2
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2081e417576570ddb178b855aecefa27d8f927f2c1a1153db0b8649d83262619
|
|
| MD5 |
b1580e0b60761ad894b79d712889ff62
|
|
| BLAKE2b-256 |
6056c39d624fa14cc8f423f19f0f9983c9f5fdef9ea0d0a777773d02a8b6ecbe
|