Amit Singh just published code to access the ambient light sensor readings on Powerbooks/Macbooks that have them:
(Figures 2 and 3)
I got it working in Terminal, and I get a seemingly successful "done" bang from the right outlet of Bill Orcutt's shell object in Max, but I don't get anything from the left (stdout) outlet.
Can anyone help me get this data into Max? Thanks!
(By the way, my machine is an older but still all-silver 15" Powerbook (FW800). The sensors are apparently right near the power button on the right side and directly across from it on the left side.)