Delay for ten milliseconds
Listing 6 calls the rest function:
To purposely insert a ten-millisecond delay during each iteration of the while loop.
Listing 6. Delay for ten milliseconds.
rest(10); }//end while loop |
Listing 6 also signals the end of the while loop.
(The amount of delay doesn't seem to be very reliable.)