Skip to main content

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.

Metadata

Release files for micropython-vcnl4010 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for micropython-vcnl4010 0.1.0
File Size Uploaded
micropython-vcnl4010-0.1.0.tar.gz 18.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for micropython-vcnl4010 0.1.0
File Interpreter ABI Platform
micropython_vcnl4010-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.1 kB

Release files / micropython-vcnl4010-0.1.0.tar.gz

Download URL micropython-vcnl4010-0.1.0.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fddee8a8db8e80e0f06ecbddae92eee88978c7e5722c790fa96c524d6e966fcf
BLAKE2b-256 checksum
How to use checksums
1f8a60a29878df14642d25fa6a2cefdd82c834cd78766899c6ed8dd9357a49dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / micropython_vcnl4010-0.1.0-py3-none-any.whl

Download URL micropython_vcnl4010-0.1.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81b70373aaeaf1a9d2a6cbae58336fa87350f4f02509ae1f8cbbcf4115f8f8bf
BLAKE2b-256 checksum
How to use checksums
fbf75146fd242f38f3baf0d70cd372e546fd9efc41ba99f8264045d1512da2f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page