mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
grove: updated description of Grove light sensor
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
This commit is contained in:
parent
c170b01fc2
commit
42cde580bf
@ -104,7 +104,11 @@ class GroveTemp: public Grove {
|
|||||||
/**
|
/**
|
||||||
* @brief C++ API for Grove light sensor
|
* @brief C++ API for Grove light sensor
|
||||||
*
|
*
|
||||||
* Very basic UPM module for Grove light sensor on analog
|
* The Grove light sensor detects the intensity of the ambient light.
|
||||||
|
* As the light intensity of the environment increases, the resistance
|
||||||
|
* of the sensor decreases. This means that the raw value from the
|
||||||
|
* analog pin will be larger in bright light and smaller in the dark.
|
||||||
|
* An approximate lux value can also be returned.
|
||||||
*
|
*
|
||||||
* @ingroup grove analog
|
* @ingroup grove analog
|
||||||
* @snippet grovelight.cxx Interesting
|
* @snippet grovelight.cxx Interesting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user