Kitronik-Pico-Simply-Servos-MicroPython
A MicroPython class and example code to use the Kitronik Simply Servos board for Raspberry Pi Pico. (www.kitronik.co.uk/5339)
To use save SimpyServos.py file onto the Pico so it can be imported.
Import SimplyServos.py and construct an instance:
import SimplyServos
board = SimplyServos.KitronikSimplyServos()
This will initialise the PIO and set them to drive the servo pins.
Drive a Servo by degrees:
board.goToPosition(servo, degrees)
where:
- servo => 1 to 8
- degrees => 0-180
Drive a Servo by pulse width:
board.goToPeriod(servo, period)
where:
- servo => 1 to 8
- period => 500 - 2500 period is the pulse width in microseconds
This code is designed to be used as a module. See: https://kitronik.co.uk/blogs/resources/modules-micro-python-and-the-raspberry-pi-pico for more information.
Metadata
Release files for KitronikPicoSimplyServos 1.0.1
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 | Actions |
|---|---|---|---|---|
| KitronikPicoSimplyServos-1.0.1.tar.gz | 3.6 kB | Without provenance | Details for KitronikPicoSimplyServos-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| KitronikPicoSimplyServos-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for KitronikPicoSimplyServos-1.0.1-py3-none-any.whl |
Total release size: 7.8 kB
Release files / KitronikPicoSimplyServos-1.0.1.tar.gz
| Download URL | KitronikPicoSimplyServos-1.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
545e25225189d59c7ba642e709851f91b18ced8150d4db1c522c051a0faf5e50
|
|
BLAKE2b-256 checksum How to use checksums |
7959bbd9aaf0a1d7c170fbe609e71fa43a5594e22cd28fe5bee235169562fbc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / KitronikPicoSimplyServos-1.0.1-py3-none-any.whl
| Download URL | KitronikPicoSimplyServos-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7b4428023905ecd1d8dea703994b3f77f43c3d3ed44a1374c9310c6189f669d
|
|
BLAKE2b-256 checksum How to use checksums |
9b42d5cf5110764f4c434efe1678f023af3dd28fc6d0a0ed63020fbb54383c47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for KitronikPicoSimplyServos 1.0.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.