This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

SSC32 controlling library

Project Description

Is a simple interface for control RC servos using SSC32 controller.

Example

>>> import ssc32
>>> import math
>>> 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.degrees = 0
>>> tilt_servo.radians = math.pi/4
>>> ssc.commit(time=1000)
>>> ssc.is_done()
False
>>> ssc.is_done()
True
>>> ssc.description = 'My camera's pan/tilt'
>>> ssc.save_config('my_pantilt.cfg')

0.4.1

  • Add ssc32yaml script runner
  • Don’t change servo position on init (Servo.is_changed flag)

0.4.0

  • Servo script interface with YAML serialization/deserialization
  • Move to package
  • Depends on PyYAML

0.3.3

  • Rename Servo properties Servo.degree -> Servo.degrees, Servo.radian -> Servo.radians
  • Use callback for Servo
  • Description for configuration (SSC32.description) line starts with #~
Release History

Release History

This version
History Node

0.4.1

History Node

0.4.0

History Node

0.3.3

History Node

0.3.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyssc32-0.4.1.tar.bz2 (6.6 kB) Copy SHA256 Checksum SHA256 Source Jul 5, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting