Slashdot Mirror


Experimenting With Light on Apple Laptops

venkatg writes "Soon after Apple introduced sudden motion sensors in their PowerBooks in early 2005, Amit Singh had shown how these sensors can be used for creative purposes (covered by Slashdot earlier as Having Fun With PowerBook Motion Sensors and PowerBook As A New Kind Of Human Interface Device). This time around Singh discusses 'Experimenting With Light' in a new article whereby by light he means the ambient light sensors and the illuminated backlight keyboard sensors in Apple's laptops. The article shows (source code is included) how one can measure ambient light and do things with it. It also shows things like how to get/set illuminated keyboard brightness and display brightness or do fade transitions of the keyboard lighting. So now that we have all these motion and light sensors under control, is there a MacBook discotheque in the works?"

5 of 120 comments (clear)

  1. Re:So, it's official.... by ggKimmieGal · · Score: 0, Offtopic

    MacBooks, computers for the Ipod generation.

  2. Re:How does the keyboard backlight work? by Anonymous Coward · · Score: 0, Offtopic

    Some jokes just don't translate from speech to text.

    And don't call me Shirley.

  3. Re:North Korea by mrchaotica · · Score: 0, Offtopic
    Meanwhile, North Korean citizens are turning to cannibalism due to extreme food shortages. But cannibalism is illegal in North Korea, so cannibals are summarily dragged into the street and shot in broad daylight in plain sight of everyone to serve as a lesson.

    Obviously the solution is for the law-abiding citizens to eat the dead cannibals!

    Oh wait...

    --

    "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

  4. Re:North Korea by mgabrys_sf · · Score: 0, Offtopic

    Well the obvious solution is to start hunting and eating the police for food.

    At least it would make things interesting. Certainly from an enforcement aspect.

  5. Re:North Korea by bubkus_jones · · Score: 0, Offtopic

    Didn't George Romero already make a movie about this?