Increase timers and added the average of ldr sensor