Hi all,
I am testing a sketch that makes the MKR Zero board go to sleep mode and wake up after a few seconds. Does anyone know how can I check if the board is in sleep mode?
Sleepmode.ino (310 Bytes)
Hi all,
I am testing a sketch that makes the MKR Zero board go to sleep mode and wake up after a few seconds. Does anyone know how can I check if the board is in sleep mode?
Sleepmode.ino (310 Bytes)
If the LED stops blinking, that's a good sign.
Note that there is currently a bug in the ArduinoLowPower library that causes the sleep duration to be 2X what it expected:
Hi Pert,
I want to make my MKR Zero board go to sleep mode to save power and wake up periodically to do something and then go back to sleep until next wake up. I am using RTCZero library now. But the problem is that every time when I upload the sketch to the board, it seems to be upload to the board successfully because the LED blinked as what I wrote in the sketch, but then the Arduino IDE gives an error of "couldn't find the board". I don't know the reason for that.
I think you get that error because the ATSAMD21 chip on your MKR Zero handles the USB of the board, so if the chip is asleep then the USB isn't working.
Try this: