 }
 
 void sleep() {
+  // Serial.println("Going to WDT sleep");
+  // delay(2);
   // set full power down.
   set_sleep_mode(SLEEP_MODE_PWR_DOWN);
   

  sleep_mode();
  // it's now asleep for 0.25 seconds
  
  sleep_disable();
  power_all_enable();
}
  
void setup() {
#ifdef WATCHDOG_SLEEP
  // Set up low power mode... this is tricky so we disable interrupts while it's going on.
  noInterrupts();
  

#include "pitches.h"

// Time of inactivity which will result into going into low power mode
#define IDLE_TIMEOUT 600000
// Short timeout for debugging
// #define IDLE_TIMEOUT 6000

// Warning.. the watchdog sleep mode is experimental, and may brick your arduino.. you have been warned
// #define WATCHDOG_SLEEP

#define NEOPIXEL_PIN 6
#define NUM_PIXELS 16
