Power down the processor for a short time to save energy.

Note: Using NAP can save power when used instead of a PAUSE command - but may not be as accurate as it can be affected by heat and supply voltage.

todo: SeePower Management


NAP duration

duration must be between 0 and 7 giving delays in multiples of approx 18ms


NAP 0   ' Power down for approx 18 Milli Seconds

' NAP Example ' Nap.txt ' Kic8 ' Nap for a short time between ' Toggling a pin DO ' Do something visible TOGGLE 0 ' Power down for short time (7+1) * 18 ms NAP 7 LOOP

Related Commands: