Skip to main content

Python library for the spectral sensor

Project description

AS7262 Spectral Sensor

Build Status Coverage Status PyPi Package Python Versions

Suitable for detecting the properties of ambient light, light passing through a liquid or light reflected from an object the AS7262 spectral sensor has 6 spectral channels at 450 (violet), 500 (blue), 550 (green), 570 (yellow), 600 (orange) and 650nm (red).

Installing

Stable library from PyPi:

  • Just run sudo pip install as7262

Latest/development library from GitHub:

  • git clone https://github.com/pimoroni/as7262-python

  • cd as7262-python

  • sudo ./install.sh

0.1.0

  • Port to new i2cdevice API

  • Breaking change from singleton module to AS7262 class

0.0.2

  • Extended reset delay to avoid IO Errors

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

as7262-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distributions

as7262-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

as7262-0.1.0-py2-none-any.whl (5.9 kB view details)

Uploaded Python 2

File details

Details for the file as7262-0.1.0.tar.gz.

File metadata

  • Download URL: as7262-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 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

Hashes for as7262-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4cc6e447359218c52d44278962b824a05cfce7a407661469b8fdaf7ddf3de1ae
MD5 9ac38c89103ded9ca30874ed39181756
BLAKE2b-256 eea39ceb846bc0cc69c86fcbfcd668f3df8d0fa6b6f516fb75ab9aa45f3a23ae

See more details on using hashes here.

File details

Details for the file as7262-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: as7262-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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

Hashes for as7262-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12a73dcdde3040b1dcb831079eec9d8f3e01822aed2c5d5d57c1276cc2513920
MD5 a5d58fee69393bae644790551bc44872
BLAKE2b-256 3b7e4c033a1e3d697c4364b3c563ee837aca33cfc0c3bc0e53f85c438996c6ec

See more details on using hashes here.

File details

Details for the file as7262-0.1.0-py2-none-any.whl.

File metadata

  • Download URL: as7262-0.1.0-py2-none-any.whl
  • Upload date:
  • Size: 5.9 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

Hashes for as7262-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 49e8221d127b56be0a5cf174ae78c5fb22582bdf0907ebf785894d204ac288b3
MD5 434c54b377d094740724a1a4cddbda42
BLAKE2b-256 6ddfaecfcf8e53655bf2b9c33f8ba6583d5e1b3bd057af25fa6a92e3780610b2

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