Skip to content

Device never wakes on program run following sketch upload #5

Open
@disk91

Description

@disk91

After uploading a sketch to my MKR FOX 1200, the following code never wakes up after the first sleep call (LED remains on):

#include <ArduinoLowPower.h>
void setup() {
  pinMode(6, OUTPUT);
}

void loop() {
  digitalWrite(6, HIGH);
  LowPower.sleep(500);
  digitalWrite(6, LOW);
  LowPower.sleep(500);
}

The fault only occurs under the specific conditions of the program running after a sketch upload has been performed. If I power cycle the board, it works correctly.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions