# Findings sleep modes

**URL:** <https://community.particle.io/t/findings-sleep-modes/2471>\
**Category:** Firmware\
**Created:** [January 30, 2014, 10:03am UTC](https://community.particle.io/t/findings-sleep-modes/2471 "2014-01-30T10:03:31Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [February 23, 2014, 11:14am UTC](https://community.particle.io/t/findings-sleep-modes/2471/23 "2014-02-23T11:14:02Z")

</div>

I'm getting opposite results.

In Deep Sleep Mode, my core will wake up (blinking cyan) and go back to sleep repeatedly

In Sleep Mode, the core blinks green during the sleep time & executes the loop() at the same time. Once it restarts and goes into breathing cyan, no code runs

char LED = D7;

> void setup() {  
> Spark.sleep(SLEEP\_MODE\_DEEP,5);  
> Spark.sleep(5);  
> pinMode(LED, OUTPUT);  
> }

> void loop() {  
> digitalWrite(LED, HIGH);  
> delay(500);  
> digitalWrite(LED, LOW);  
> delay(500);  
> }

---

_[View the full topic](https://community.particle.io/t/findings-sleep-modes/2471)._
