Not sure if this is the right place to ask but if not, please move to the appropriate location. Was working on a project that uses a phototransistor ambient light sensor to control some led [not homework of any kind].
Now, in the scope screenshot I posted below there's a square wave representing led blinking 100 ms on, 100 ms off. The waveform below it represents the response of the ambient light sensor in response to the led blinking (about 30 ms).
Now, I had been checking the ambient light sensor every 1 second with a timer, to see if ambient light is enough for determining whether to have light turn on or not, but then I was suggested to instead check the ambient light sensor every 30 minutes and then do something with the ambient light values (I'm guessing it's to turn on and off the led lights) , but what would would be the use of checking the ambient light sensor value just every 30 minutes?