BreadPi hardware support package
Project description
# BreadPi Packages for BreadPi, a hardware designed by SB Components
Install breadpi package on your Raspberry Pi using
pip3 install breadpi
or
python3 -m pip install breadpi
import the module with
from breadpi import BreadPi
Access PCF8591 or GPIOs directly
bread_pi = BreadPi()
data = bread_pi.read_analog(register=1) # Read Data from AIN1
bread_pi.write_analog(register=1, value=100) # Covert Digital data to analog
use led_on, led_off, buzzer_on, buzzer_off or take digital inputs from buttons using button function of BreadPi class.
- You can pass string printed on BreadPi like, ‘L1’ or ‘SW1’ or customized pin
number like 29, 31 directly to the functions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file breadpi-1.0.tar.gz.
File metadata
- Download URL: breadpi-1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.12.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e17d61805d4f0d07129b9e4d0b951d5112147ace2dbb85407a4f37322eb271d
|
|
| MD5 |
4f9edfa6e198f0f221d4ac35441bfbf4
|
|
| BLAKE2b-256 |
96179848be88cc0d9b21c88c8409e4a10ea4a8dc628dc1fe0668b0a416c307b3
|
File details
Details for the file breadpi-1.0-py3-none-any.whl.
File metadata
- Download URL: breadpi-1.0-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.12.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1dc3ab1eadfea75cff908ac3118fc4ba58653e4cd2b6db3b7c98fb665367456
|
|
| MD5 |
e471b948f5254616747b049038841f11
|
|
| BLAKE2b-256 |
c9f50c7bc1027439f16a011038cda94c7e63daf9d03b0804f8535f122f348e4d
|