Tweet

Replying to @josecastillo

the gist of what we’re trying to do: blink an LED for a half second every 15 seconds, while consuming as little power as possible in between. we do this by setting the SAM D21’s SLEEPDEEP bit, and then hanging out at __WFI until a timer interrupt wakes us. https://gist.github.com/joeycastillo/97678bb1c151f4943203cfffb21a71eb

(original)