Skip to main content

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

Project description

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.

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_VCNL40xx-1.0.4.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file Adafruit_VCNL40xx-1.0.4.tar.gz.

File metadata

  • Download URL: Adafruit_VCNL40xx-1.0.4.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

File hashes

Hashes for Adafruit_VCNL40xx-1.0.4.tar.gz
Algorithm Hash digest
SHA256 fb6e9edcf3169012a6bfc139fe1035bbce541ec1f7960ca7e47beb6fe2190635
MD5 8319fa6b7030c754cf0aba24135dc02b
BLAKE2b-256 f41b03f915c09199e66247e3dcfec810eeb75971fe426380a5ab6190cbc80d9d

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