August 2010
Intermediate to advanced
288 pages
13h 21m
English
The NXT has a built-in sleep setting that turns it off when it’s not in use. By default the sleep time is set to either 10 minutes or an hour, depending on the version of the firmware on your NXT. You can use the NXT’s Settings menu to set the sleep time or turn off this feature.
Having the NXT go to sleep is useful for saving your batteries; however, you may want to prevent the NXT from turning off while your program is running. That’s where the Keep Alive block comes in.
The Keep Alive block is in the Advanced group at the bottom of the Complete Palette (shown in Figure 6-14). The icon for this block may not be immediately obvious. It’s a pair of Zs (to indicate sleeping) crossed out using a red circle with a line through ...