Arduino_MKRENV : ENV class
Read the light sensor’s value.
FOOTCANDLE - the value returned is a float and uses footcandle as unit.
METERCANDLE - the value returned is a float and uses metercandle as unit.
LUX - the value returned is a float and uses lux as unit (default).
The light sensor’s value in the unit selected.
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.