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

adafruit-circuitpython-vcnl4010-0.11.9.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file adafruit-circuitpython-vcnl4010-0.11.9.tar.gz.

File metadata

File hashes

Hashes for adafruit-circuitpython-vcnl4010-0.11.9.tar.gz
Algorithm Hash digest
SHA256 ceeadef32702d527614a9ef699cb51290031fdca71bf229792042ffe0541c1c9
MD5 921d2656c45fd6817fed2353e6a7d35b
BLAKE2b-256 19a3a29cc0849bcf3f05330dc8cfd70d8148df161759c9b9ae3870c3ef83f4e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_vcnl4010-0.11.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d2d6c5dcbc95c2948813325cd3ff12563375a0ca575a592ea56ec57065f12401
MD5 aaad5c82150a46d4d7a815674ea25985
BLAKE2b-256 a25e5eeb3e665c9ec8d5f0c875c1bb0784a4d7d5d3f611ad95550af5c580c277

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