ULN2003
Package to control a ULN2003 driver for a 28BYJ-48 (or any unipolar) stepper motor on a Raspberry Pi
Installation
Use the package manager pip to install ULN2003.
pip install ULN2003
Usage
from ULN2003 import ULN2003
pins=[26, 19, 13, 6] #The logical pins of the ULN2003 as connected to the Raspberry Pi with the pins indexed by their BCM numbering
Stepper=ULN2003(pins) #Creates an instance of the ULN2003 driver
Stepper.step(n=100) #Steps forwards by 100 steps
Stepper.step(n=-100) #Steps backwards by 100 steps
License
Release files for ULN2003Pi 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ULN2003Pi-1.0.4.tar.gz | 3.7 kB | Details |
Release files / ULN2003Pi-1.0.4.tar.gz
| Download URL | ULN2003Pi-1.0.4.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3c373c7b45c62db3c9bfe879bf5222986807b78cec2a7cdbafd2f591e278ee7
|
|
BLAKE2b-256 checksum How to use checksums |
690ae7e69b8e22c9b157318fe8e7141336b6ad6c066b5f5d4a0eab24dae720d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/3.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.4
|