Arduino Low Power - 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.