VCNL4000 I2C Distance and Luminosity sensor

Supported interfaces

Python Constructor

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


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.

# Setup a VCNL4000
vcnl = VCNL4000