Skip to main content

CircuitPython library for VCNL4010 proximity and light sensor.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Black

CircuitPython module for the VCNL4010 proximity and light sensor.

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install adafruit-circuitpython-vcnl4010

To install system-wide (this may be required in some cases):

sudo pip3 install adafruit-circuitpython-vcnl4010

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-vcnl4010

Usage Example

See examples/vcnl4010_simpletest.py for an example of the usage.

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

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 Distribution

File details

Details for the file adafruit_circuitpython_vcnl4010-0.11.12.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_vcnl4010-0.11.12.tar.gz
Algorithm Hash digest
SHA256 4c0b7420182dabae499bc1bc716ae78f062b3f249fb54c9c6673090f60c4f235
MD5 f192703a661ae06887c0ae6f2c196ec5
BLAKE2b-256 fb860de51de13aa358acd0de5933c8f6ec62f2007d91bb521885eeb68337c962

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_vcnl4010-0.11.12-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_vcnl4010-0.11.12-py3-none-any.whl
Algorithm Hash digest
SHA256 2bbac13475bba823667ccdb3ccf4f66e96106d9b3dfd3fced7fe93ed3f25f511
MD5 2ca58c2f481b7e4574ebe73629451b1a
BLAKE2b-256 34c1fcc7f0b9d60f17791ff6d748aaf26f0fd14cdcd96713d04cb793a6288d5f

See more details on using hashes here.

Supported by

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