Use the light sensor to measure times. You can set a threshold and determine the duration of brighter/darker states or the time between two bright/dark states.
Use the light sensor to measure times. You can set a threshold and determine the duration of brighter/darker states or the time between two bright/dark states.