You may have noticed the following line:
This is just C shorthand for the following:
So now each time that
loop
is run, it will take just a bit more than 200 milliseconds, unless
it’s the 20th time round the loop, in which case it will take the same plus the three seconds
delay between each batch of 20 flashes. In fact,
for some applications, even this is too
slow, and purists would say that you should not use
Dostları ilə paylaş: