Skip to main content

MicroPython Driver for the Vishay VCNL4010 Proximity and Ambient Light Sensor

Project description

Introduction

Documentation Status micropython latest version on PyPI Total PyPI downloads Code Style: Black

MicroPython Driver for the Vishay VCNL4010 Proximity and Ambient Light Sensor

Installing with mip

To install using mpremote

mpremote mip install github:jposada202020/MicroPython_VCNL4010

To install directly using a WIFI capable board

mip install github:jposada202020/MicroPython_VCNL4010

Installing Library Examples

If you want to install library examples:

mpremote mip install github:jposada202020/MicroPython_VCNL4010/examples.json

To install directly using a WIFI capable board

mip install github:jposada202020/MicroPython_VCNL4010/examples.json

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 micropython-vcnl4010

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

sudo pip3 install micropython-vcnl4010

To install in a virtual environment in your current project:

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

Usage Example

Take a look at the examples directory

Documentation

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

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

micropython-vcnl4010-0.1.0.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

micropython_vcnl4010-0.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file micropython-vcnl4010-0.1.0.tar.gz.

File metadata

  • Download URL: micropython-vcnl4010-0.1.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for micropython-vcnl4010-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fddee8a8db8e80e0f06ecbddae92eee88978c7e5722c790fa96c524d6e966fcf
MD5 7327fe5f1478b57087277a0af8f13489
BLAKE2b-256 1f8a60a29878df14642d25fa6a2cefdd82c834cd78766899c6ed8dd9357a49dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for micropython_vcnl4010-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81b70373aaeaf1a9d2a6cbae58336fa87350f4f02509ae1f8cbbcf4115f8f8bf
MD5 1a2498aae4bfcf82af2a4e67f61f5191
BLAKE2b-256 fbf75146fd242f38f3baf0d70cd372e546fd9efc41ba99f8264045d1512da2f4

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