用于使用Raspberry Pi和BeagleBone Black与VCNL4000和VCNL4010接近传感器的Python代码。
项目描述
已弃用库 Adafruit Python VCNL40xx
此库已被弃用!
我们现在只在Python中使用我们的CircuitPython传感器库,它们运行良好且易于维护
我们保留代码以供历史/研究目的,但正在归档存储库。
查看此指南以使用Python中的vcnl4010! https://learn.adafruit.com/using-vcnl4010-proximity-sensor
用于使用Raspberry Pi和BeagleBone Black与VCNL4000和VCNL4010接近传感器的Python代码。
安装
要从源代码安装库(推荐),请在Raspberry Pi或其他基于Debian的操作系统上运行以下命令
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
或者您可以使用pip安装
sudo pip install adafruit-vcnl40xx
请注意,pip安装方法不会安装示例代码。
项目详情
关闭
Adafruit_VCNL40xx-1.0.4.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | fb6e9edcf3169012a6bfc139fe1035bbce541ec1f7960ca7e47beb6fe2190635 |
|
MD5 | 8319fa6b7030c754cf0aba24135dc02b |
|
BLAKE2b-256 | f41b03f915c09199e66247e3dcfec810eeb75971fe426380a5ab6190cbc80d9d |