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.)
No help here, but good to see you lurking on the list.
Try running the shell command with JAVA’s stdin/stdout capability.
It’s much more flexible than the shell object as you’ll be able to do
what you want with the results and potentially pipe them into another
process. To do this, you just need to make a simple mxj.
C74 RSS Feed | © Copyright Cycling '74