servoarray
Pluggable servomotor driver library
Install
Boost.Filesystem is required
pip install servoarray
Usage
from servoarray import ServoArray
sa = 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 servo
sa[0] = 3.14 / 2 # Max
sa[0] = -3.14 / 2 # Min
# Slicing and reverse indexing are supported as the normal list
sa[:] = [0] * len(sa)
print(sa[-1])
Release files for servoarray 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| servoarray-0.7.0.tar.gz | 655.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| servoarray-0.7.0-cp37-cp37m-linux_armv6l.whl | CPython 3.7 | CPython 3.7 pymalloc | linux armv6l | Details |
| servoarray-0.7.0-cp36-cp36m-linux_armv6l.whl | CPython 3.6 | CPython 3.6 pymalloc | linux armv6l | Details |
| servoarray-0.7.0-cp35-cp35m-linux_armv6l.whl | CPython 3.5 | CPython 3.5 pymalloc | linux armv6l | Details |
Total release size:1.6 MB
Release files / servoarray-0.7.0.tar.gz
| Download URL | servoarray-0.7.0.tar.gz |
|---|---|
| Size | 655.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e97aa60d3678f426c1e118518b67014fcc7a763dbae45ab23f30c4dba4b6716
|
|
BLAKE2b-256 checksum How to use checksums |
7a8d507919fe94757d347dd5da1845a95b10f6abaa92b1b914aa69c63800ae9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/20.7.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.5.2
|
Release files / servoarray-0.7.0-cp37-cp37m-linux_armv6l.whl
| Download URL | servoarray-0.7.0-cp37-cp37m-linux_armv6l.whl |
|---|---|
| Size | 308.0 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc linux armv6l |
|
SHA-256 checksum How to use checksums |
882fcbe6483ebc77037a097d21afaf2d6f8428b61073ead37a4489b29fc61875
|
|
BLAKE2b-256 checksum How to use checksums |
4af9b4b7406c8768f7abe7adabf761e6415352c6b2d8b1c1765b36304c811f32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/20.7.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.5.2
|
Release files / servoarray-0.7.0-cp36-cp36m-linux_armv6l.whl
| Download URL | servoarray-0.7.0-cp36-cp36m-linux_armv6l.whl |
|---|---|
| Size | 308.0 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc linux armv6l |
|
SHA-256 checksum How to use checksums |
bd3c54070d3658ab694c55fdb385ae82eb4a961a7125c39af28a0730e3591e41
|
|
BLAKE2b-256 checksum How to use checksums |
0ea0d03b39bcd6b961df64452e35697b22f67a3a57863b4876ecbdeae0f8307c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/20.7.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.5.2
|
Release files / servoarray-0.7.0-cp35-cp35m-linux_armv6l.whl
| Download URL | servoarray-0.7.0-cp35-cp35m-linux_armv6l.whl |
|---|---|
| Size | 308.0 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc linux armv6l |
|
SHA-256 checksum How to use checksums |
f145229df82bb5969e4e83363f759422e66e43bbf7135671acf4ee6a553fd6b3
|
|
BLAKE2b-256 checksum How to use checksums |
facc6b12552e8ea98dc82fb67424fdd7a38e2cc980aca619f406fd077cf1fc62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/20.7.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.5.2
|