Peplou
May 16, 2009, 09:42 AM
Hi
The solution was: program start at 6h00 with test if time is between ( 5h30 to sunrise) NO stop, YES if time is between (sunrise to 7h30) NO stop; YES light on.
I did only the first part (5h30 to sunrise)and the program start at 6h00. I assume this: If the sunrise is at 5h35 the test will be YES, sunrise at 5h25 the test will be NO. The answer is alway YES why?
Thank
The solution was: program start at 6h00 with test if time is between ( 5h30 to sunrise) NO stop, YES if time is between (sunrise to 7h30) NO stop; YES light on.
I did only the first part (5h30 to sunrise)and the program start at 6h00. I assume this: If the sunrise is at 5h35 the test will be YES, sunrise at 5h25 the test will be NO. The answer is alway YES why?
Thank