Reference   Language | Libraries | Comparison | Changes

ArduinoLowPower

LowPower.attachInterruptWakeup()

Description

Indicates the function to call and the conditions for a wakeup event.

Syntax

LowPower.attachInterruptWakeup(pin, callback, mode);

Parameters

  • pin: the pin used as external wakeup
  • callback: the function to call on wakeup
  • mode: the transitions to sense on the indicated pin. Can be one between:
    • FALLING
    • RISING
    • CHANGE

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.