BASIC Stamp II
SLEEP
Sleep for x seconds (x=0 to 65535).
usage:
SLEEP x
Enter low-power mode and keep I/O's updated. Every ~2.3 seconds,
the I/O's will go high-z for ~18ms. Approximately 50µa average cur-
rent will be consumed.
When x seconds have been accrued in SLEEP mode, execution contin-
ues at the next instruction. Though the granularity of SLEEP is ~2.3
seconds, the error is within 1% over extended periods of time.
Page 64 • BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333
Need help?
Do you have a question about the BASIC Stamp II and is the answer not in the manual?