EasyManua.ls Logo

Parallax BASIC Stamp II - Power Management Instructions

Default Icon
68 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Page 64 • BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333
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.