Unit DLight is a digital ambient light detection sensor. The hardware uses a BH1750FVI illuminance sensor IC (I2C interface), with built-in 16-bit AD conversion supporting (1 ~ 65535 lx) illuminance value detection. It features a small size and low power consumption, making it suitable for various illuminance detection and light control adjustment scenarios.
The linked UiFlow2 example uses SCL=G22 and SDA=G21 for Basic / Fire. For Core2 / Tough, use SCL=G33 and SDA=G32; for CoreS3 / CoreS3-SE, use SCL=G1 and SDA=G2. Adjust the I2C configuration for the controller in use.