reading light sensor values

Discussion in 'Mac Programming' started by davethewave, Aug 21, 2007.

  1. davethewave macrumors member

    Jul 30, 2007
    Trieste, Italy
    hi all folks!
    i wonder if there is a way to read values from light sensor incorporated on some :apple:mac and :apple:portables. i mean that one that control the backlighting of keyboard on mbpro and that one that control the brightness of led while the imac is asleep (not the last imac though).
    some suggestions?
    thanks in advance
  2. AaronX macrumors member

    Jul 29, 2009
    As above, I was wondering if there's any program to measure ambient light using the light sensor, like there's a seismometer using the HDD shock meter.
  3. xStep macrumors 68000

    Jan 28, 2003
    Less lost in L.A.
    The only reference I could find to reading the light sensor is this post titled "A gentler kind of smack". Apparently there is source code somewhere according that page.

Share This Page