Skip to content

Latest commit

History

413 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

servoarray

Travis (.org)PyPIPyPI - LicenseC++

Pluggable servomotor driver library

Install

Boost.Filesystem is required

pip install servoarray

Usage

fromservoarrayimportServoArraysa=ServoArray()
# You can specify driver name and parameters directly though it is not recommended# sa = ServoArray("pca9685", {"bus": 1, "address": 0x40, "min_pulse": 150, "max_pulse": 600})# Now you can set a radian value to the servosa[0] =3.14/2# Maxsa[0] =-3.14/2# Min# Slicing and reverse indexing are supported as the normal listsa[:] = [0] *len(sa)
print(sa[-1])

About

pluggable servomotor driver library

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages