ServoCenter-3.1

A Python module for interacting with the ServoCenter 3.1 USB controller board
Download

ServoCenter-3.1 Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Other/Proprietary Li...
  • Publisher Name:
  • David Davis
  • Publisher web site:
  • http://search.cpan.org/~xantus/

ServoCenter-3.1 Tags


ServoCenter-3.1 Description

A Python module for interacting with the ServoCenter 3.1 USB controller board ServoCenter-3.1 is a Python library for interacting with the ServoCenter 3.1 USB controller board by Yost Engineering, Inc.For more information, see http://www.davisd.com/projects/servocenter-3.1/For more information on ServoCenter, see http://tech.yostengineering.com/servoFolderExample usage is as follows:: #!/usr/bin/python from servocenter import ServoController # open port /dev/ttyUSB0 with baud rate 9600 sc=ServoController('/dev/ttyUSB0', 9600) # move board 0, servo 0 to position 200 sc.quick_move(0, 0, 200)InstallationA setup script (setup.py) is provided. To install, simply run the script with the install command:python setup.py installOr just put servocenter.py somewhere in the Python path and::import servocenterAPIA ServoController object is created with two arguments- the port name and baud rate.The methods in the ServoController class reflect the functions of the board as defined in the official protocol. For protocol documentation, see http://tech.yostengineering.com/servoFolder/servocenter-downloads/servocenter-downloadsTo see available methods, view the servocenter.py file. Requirements: · Python · pySerial


ServoCenter-3.1 Related Software