The Ambient Light Sensor

Besides the sudden motion sensor, Apple notebook computers contain other sensors (depending on the specific model). These other sensors can also be queried by user programs. This is a crude example that periodically retrieves readings from the ambient light sensors.

Comments are closed.

All contents of this site, unless otherwise noted, are ©1994-2014 Amit Singh. All Rights Reserved.