summaryrefslogtreecommitdiffstats
path: root/libsensors/LightSensor.h
Commit message (Collapse)AuthorAgeFilesLines
* sensors: Return a calculated lux value instead using the current 8 entry tableArve Hjønnevåg2011-11-011-3/+0
| | | | | | | | | | | The light sensor now uses the lux to current formula in the datasheet, I = 10 * log(Ev) uA, and multiplies the result by 4 as an attempt to correct for the glass in front of the sensor. Also update the config_autoBrightnessLevels table so the auto brightness change occurs at the same adc values as before (or close for 7.2 lux). Change-Id: I121ce0f23dca093c9607ac9447b9263f48507a09
* SensorHAL: clear previous light value on enableVishnudev Ramakrishnan2011-10-211-0/+1
| | | | | | | | | | Sensor HAL changes to make light sensor value to be reported on enabling light sensor. - Ignore the dummy initial value -1 that is pushed by driver - Set previous light value to -1 on enable Change-Id: Iaa64fb02f4b82339ba96146d170ca447f409a5ad Signed-off-by: Vishnudev Ramakrishnan <vramakri@sta.samsung.com>
* tuna: sensors: add light, proximity, pressure sensorsMarty Fouts2011-06-291-0/+44
NOTE: - light sensor ADC values need to be calibrated. Change-Id: Iba75dc62a922bbcd0d1e273566f9089c4da450fb Signed-off-by: Marty Fouts <mfouts@sta.samsung.com>