Introduction
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)
| File | Size | Uploaded | |
|---|---|---|---|
| micropython-vcnl4010-0.1.0.tar.gz | 18.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|