Skip to main content

CircuitPython library for VCNL4010 proximity and light sensor.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Ruff

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.15.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_vcnl4010-0.11.15.tar.gz
Algorithm Hash digest
SHA256 b3ef6b9d7363a33fae9195b00246509ba5675091b3576a7ffb08eed8ffd610df
MD5 7ea75d198c7080fb86a5573ada7cf84c
BLAKE2b-256 e7559e62dd6e8a88fe3b3ab4069ee6a6607e38f063d29cf523cd49f27fbf6200

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_vcnl4010-0.11.15-py3-none-any.whl
Algorithm Hash digest
SHA256 8aacc874498d63cfbe7422c19aadcf06167b6629b9a220db4169ccd10509c628
MD5 eeaa1ea7b57a833a8771f7a236d22c8a
BLAKE2b-256 237643ddc3bcf7f64433da4687062ab03cf416f90fb30b5581c1fe233aa7054d

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