Re: Weird Loop Behaviour

2012-01-20 Thread Arnaud Delobelle
On 20 January 2012 20:47, Yigit Turgut wrote: > Hi, > > In the following code, I am trying to run "black" screen for 3 seconds > and respectively 2 seconds "white" screen. Black routine takes 3 > seconds and white 2 seconds, 2 x black + white = 8 seconds which > should be the expected value but wh

Re: Weird Loop Behaviour

2012-01-20 Thread Emile van Sebille
On 1/20/2012 12:47 PM Yigit Turgut said... Hi, In the following code, I am trying to run "black" screen for 3 seconds and respectively 2 seconds "white" screen. Black routine takes 3 seconds and white 2 seconds, 2 x black + white = 8 seconds which should be the expected value but when I run it I

Re: Weird Loop Behaviour

2012-01-20 Thread MRAB
On 20/01/2012 20:47, Yigit Turgut wrote: Hi, In the following code, I am trying to run "black" screen for 3 seconds and respectively 2 seconds "white" screen. Black routine takes 3 seconds and white 2 seconds, 2 x black + white = 8 seconds which should be the expected value but when I run it I g

Weird Loop Behaviour

2012-01-20 Thread Yigit Turgut
Hi, In the following code, I am trying to run "black" screen for 3 seconds and respectively 2 seconds "white" screen. Black routine takes 3 seconds and white 2 seconds, 2 x black + white = 8 seconds which should be the expected value but when I run it I get black-white-black- white instead of bl