Reference   Language | Libraries | Comparison | Changes

ArduinoLowPower

LowPower.idle()

Description

Puts the MCU in IDLE mode. This mode allows power optimization with the fastest wake-up time. The CPU is stopped. To further reduce power consumption, the user can manually disable the clocking of modules and clock sources.

Syntax

LowPower.idle();
LowPower.idle(milliseconds);

Parameters

  • milliseconds: the number of milliseconds to put the board in idle mode. If void the idle mode is used till a wakeup event.

See also

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.