Arduino Energy Saving Library

Description

Energy Saving library provides you to manage power on Samd boards. This library can standby microcontroller and wake-up it by external interrupt or alarm match interrupt. During standby, the board drawing very low current from power supply, about 2 mA. This value seems not too low but consider the presence of switch regulator on the board because it is always active.

Constants

This library has two constants.

WAKE_EXT_INTERRUPT:indicates that MCU wakes up by external interrupt

WAKE_RTC_ALARM: indicates that MCU wakes up by alarm match rtc interrupt.

Published under Creative Commons Attribution ShareAlike 3.0

Note

In the release before 1.7.9 the library was called Rest.

Examples

Written by arduino.org