Python library for the BH1745 colour sensor
Project description
BH1745 Colour Sensor
Most suited to detecting the illuminance and colour temperature of ambient light, the BH1745 senses Red, Green and Blue light and converts it to 16bit digital values.
Installing
Stable library from PyPi:
Just run sudo pip install bh1745
Latest/development library from GitHub:
git clone https://github.com/pimoroni/bh1745-python
cd bh1745-python
sudo ./install.sh
0.0.4
Migrate to new i2cdevice API
0.0.3
Automagically call setup if not called by user
Allow setup() to try alternate i2c addresses
Added .ready() to determine if sensor is setup
0.0.2
Bumped i2cdevice dependency to >=0.0.4
0.0.1
Initial Release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file bh1745-0.0.4.tar.gz
.
File metadata
- Download URL: bh1745-0.0.4.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07ba4f1e9d5c1522b3cd925209e92131443488719ccbaab511cad7195a4ec2cb |
|
MD5 | d5f2ba25434d48688427ba8c3feeb475 |
|
BLAKE2b-256 | e98ad59c0c2fbc06b5bfceb350b3563ba282bb3c54c86a09288b22f6e6f91429 |
File details
Details for the file bh1745-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: bh1745-0.0.4-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb858d3bc2d015a5a3717891332201d6963242d950f9e725aa623e4c550118a1 |
|
MD5 | 788800432374c037a02e8169ad96080e |
|
BLAKE2b-256 | fe3f0ff4e71dc4b5af99a62eb385a8b9607dccf7d521d314ec2631ad0e75d7a5 |
File details
Details for the file bh1745-0.0.4-py2-none-any.whl
.
File metadata
- Download URL: bh1745-0.0.4-py2-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2eb023e9e9bbeedfc0a6279adcdc07ffa8df05d6a58d2a69e5379c5b3c8987e |
|
MD5 | 29376f5ee719a51098a562d3e563898a |
|
BLAKE2b-256 | 3d9bf4f76a59ea1ac776b46783d281763e6797d468e3a99a958268803c6a4977 |