Skip to main content

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.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

bh1745-0.0.3.tar.gz (5.2 kB view details)

Uploaded Source

Built Distributions

bh1745-0.0.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

bh1745-0.0.3-py2-none-any.whl (5.8 kB view details)

Uploaded Python 2

File details

Details for the file bh1745-0.0.3.tar.gz.

File metadata

  • Download URL: bh1745-0.0.3.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.13

File hashes

Hashes for bh1745-0.0.3.tar.gz
Algorithm Hash digest
SHA256 42b0194d7c59dfe934b41c1c18df930a46326e2ecfc6bcc6052a6a0c3afcdac9
MD5 d15c8623e6e615637fb29a5f928e02a9
BLAKE2b-256 1dc8e909052b3eb336b356138588b1f1f0f9acadf1bf5480962621398516ed86

See more details on using hashes here.

File details

Details for the file bh1745-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: bh1745-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.13

File hashes

Hashes for bh1745-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 82a231de35b2a99d717eb449607d276398daca41c52421125fe2f14b0938e916
MD5 f8bbcd20515dfeca91ed40c802825d90
BLAKE2b-256 9abb4db892caede4f00a0c32df0f591f7ad8c22a2805b616b37efe071d304e10

See more details on using hashes here.

File details

Details for the file bh1745-0.0.3-py2-none-any.whl.

File metadata

  • Download URL: bh1745-0.0.3-py2-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.13

File hashes

Hashes for bh1745-0.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 94ffe7e3fc7fb88adc484bec405937ce234fc58ac675f9e05289b0990cb071e6
MD5 2ef1f62d23ae66ba5d0e9efae5a55935
BLAKE2b-256 d56f5d53dcac8c3c3a54c81fa3a54207b4bb6184284fb12da6bbb0ce57528d4c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page