VCNL4000 I2C Distance and Luminosity sensor

Supported interfaces

Python Constructor

Use following constructors if you want to create a VCNL4000 from your python scripts.

Parameters:

from webiopi.devices.sensor import VCNL4000

# Setup a VCNL4000
vcnl = VCNL4000()

Configuration File syntax

Use following syntax to setup a VCNL4000 in the webiopi service/command configuration file.

[DEVICES]
# Setup a VCNL4000
vcnl = VCNL4000