Difference between revisions of "Ambient Light Sensor"

From WebOS Internals
Jump to navigation Jump to search
(Initial creation)
 
m (Ambient light sensor moved to Ambient Light Sensor: naming scheme)
 
(No difference)

Latest revision as of 01:47, 20 July 2009

Showing up as an input is something identified as a temt6200_light.

That's probably something doing an a2d conversion of Vishay Semiconductors TEMT 6200 ambient light sensor

You can read the ambient light value from /sys/class/input/input4/result

Putting the pre in complete darkness: <source lang="text"> root@castle:/sys/class/input/input4# cat result 4 </source>

Exposing it to low light levels <source lang="text"> root@castle:/sys/class/input/input4# cat result 11 </source>