No description
Find a file
2018-08-30 14:53:22 -04:00
.github Add GitHub pull request template 2016-05-27 13:24:27 -07:00
Adafruit_VCNL40xx Initial commit. 2016-04-20 00:17:38 +00:00
examples Fix busnum in example. 2016-04-20 19:54:41 +00:00
.gitignore Initial commit 2016-04-19 15:46:02 -07:00
ez_setup.py Initial commit. 2016-04-20 00:17:38 +00:00
LICENSE Initial commit 2016-04-19 15:46:02 -07:00
README.md Update README.md 2018-08-13 00:07:23 -04:00
setup.py fix pypi packaging 2018-08-30 14:53:22 -04:00

DEPRECATED LIBRARY Adafruit Python VCNL40xx

This library has been deprecated!

we are now only using our circuitpython sensor libraries in python, they work great and are easier to maintain

we are leaving the code up for historical/research purposes but archiving the repository.

check out this guide for using the vcnl4010 with python! https://learn.adafruit.com/using-vcnl4010-proximity-sensor

Python code to use the VCNL4000 & VCNL4010 proximity sensors with the Raspberry Pi & BeagleBone Black.

Installation

To install the library from source (recommended) run the following commands on a Raspberry Pi or other Debian-based OS system:

sudo apt-get install git build-essential python-dev
cd ~
git clone https://github.com/adafruit/Adafruit_Python_VCNL40xx.git
cd Adafruit_Python_VCNL40xx
sudo python setup.py install

Alternatively you can install from pip with:

sudo pip install adafruit-vcnl40xx

Note that the pip install method won't install the example code.