CraftBeerPi4 Actor i2cPWM Plugin
Actor i2cPWM
Plugin will provide the ability to run actors using Adafruit's DC & Stepper Motor HAT for Raspberry Pi. Reason for using this HAT is to take advantage of a the fully-dedicated PWM driver chip. The PWM control is amazing!
Installation:
First two steps can be combined.
- install i2c support:
- sudo raspi-config
- Interface Options
- I2C
- Enable by selecting
- sudo reboot
- After reboot, make sure it's working:
- sudo i2cdetect -y 1
- configure SPI:
- sudo raspi-config
- SPI
- Enable by selecting
- sudo reboot
- After reboot, make sure it's working:
- "ls -l /dev/spidev*"
- sudo pip3 install cbpi4-Actori2cPWM
- or install from repo: sudo pip3 install https://github.com/sjhoglund/cbpi4-Actori2cPWM/archive/main.zip
- cbpi add cbpi4-Actori2cPWM
Usage:
More to come
Hardware:
- Adafruit DC & Stepper Motor HAT
Changelog:
- 01-29-22: (0.0.1) Updated README
Release files for cbpi4-Actori2cPWM 0.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 | |
|---|---|---|---|
| cbpi4-Actori2cPWM-0.0.1.tar.gz | 193.6 kB | Details |
Release files / cbpi4-Actori2cPWM-0.0.1.tar.gz
| Download URL | cbpi4-Actori2cPWM-0.0.1.tar.gz |
|---|---|
| Size | 193.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
582f66eee89b5973e6d27822e9b0de5d0945cf1fb657c2c6ff7e1ecfc9fbd25d
|
|
BLAKE2b-256 checksum How to use checksums |
124b0e2627d6929f2d41309a1946b5f39b6c9c30acc57c05f5b9c4cbc2370af3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|