Context
This tool is showcased in the project IotaWorkshop
Summary
This tool can be both used as a command line interface or be imported into your project. What this repo has that others do not is some math to calculate the estimated time it takes to rotate the servo to a sepecific destination. The utility handles all the pin IO and all you have to do is specify the location the servo needs to be in and the library will do the rest.
Installation
This project requires RPi.GPIO, and I installed it using the arch repo using,
yay -S python-raspberry-gpio
But ubuntu or rasbian can use,
pip install RPi.GPIO
To install the servo library simply pull from the pip repo,
pip install servo-lock
Command Line Interface Examples
To send the servo to a sepecific location simply use the command
servo move 19 90 #Moves the servo on pin 19 to 90 degrees
Metadata
Release files for servo-lock 0.0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| servo-lock-0.0.1.7.tar.gz | 2.8 kB | Without provenance | Details |
Release files / servo-lock-0.0.1.7.tar.gz
| Download URL | servo-lock-0.0.1.7.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0cd713cd0a6a30b45c819cb289b88be164c69fc4ce46927ea9922a33df01454a
|
|
BLAKE2b-256 checksum How to use checksums |
5034c3632985b63a8eb38bd2df49efd369875c2c4b406542eb8406d6ec9acdb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
|
Security for servo-lock 0.0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.