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 hashes)

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2

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