put ('sleeping'); delay (2000); /* wait for 2 seconds (=2000 milliseconds). */ put ('awake');