+ susp_pwm();
+ susp_adc();
+ susp_tmr();
+ susp_gpio();
+ wdt_disable();
+}
+
+
+void power_down()
+{
+ uint16_t wake_count = 0;
+ unsigned char btn;
+
+sleep_again:
+ // enable PCINT14, so that user can wake up later
+ GIMSK |= _BV(PCIE1);
+ PCMSK1 |= _BV(PCINT14);
+
+ // G'night
+ set_sleep_mode(SLEEP_MODE_PWR_DOWN);
+ sleep_enable();
+ sleep_bod_disable();
+ sei();
+ sleep_cpu();
+
+ // G'morning
+ cli();
+
+ sleep_disable();
+
+ // Disable PCINT14
+ GIMSK &= ~_BV(PCIE1);
+ PCMSK1 &= ~_BV(PCINT14);