Skip to content

Sleep functions cause reset in code execution after waking up #336

Description

@Trotyl64

I'm using the pro mini style board with nothing connected and the powerDownWakePeriodic example.

The sleep function works but right after waking up the microcontroller "resets" and goes back to executing code from setup() instead of continuing to the rest of the code. What's interesting is there's no fast blink that normally happens when resetting with the button. I guess it has something to do with the reset vector and WDT mentioned in another issue, #317 (comment)

Furthermore I found out that the PMU library example from Wolles' website works properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions