' {$STAMP BS2} ' {$PBASIC 2.5} ' 2008 mlab.uiah.fi/paja ' Understanding Time control (SLEEP and Pause) pLed PIN 15 cSleep CON 1000 cPause CON 1000 Init: DEBUG CLS Main: DO DEBUG "I am going to SLEEP", CR SLEEP 1 'Put the BASIC Stamp into low-power mode FOR a specified 'time. This command save power. The period is second. DEBUG "I am going to PAUSE", CR PAUSE 1500 'Pause the program (do nothing) for the specified Period. 'the period is milisecond. LOOP END