Smartphones and tablets have built-in light sensors (also known as ambient light sensors) to measure the light level and adjust the brightness of the screen accordingly to save the battery. Blynk provides a Light widget to take values from the built-in ambient light sensor on your smartphone. The light level can be measured in lux (symbol: lx).
Light sensor
Adding the Light Sensor widget
The following steps will show you how to add a Light widget to your Blynk app:
- In the Widget Box, under SMARTPHONE SENSORS, tap Light Sensor
- The Light Sensor widget will be added to the canvas