     delay(SLEEP_TIME_MS);
   }
 
-  power_spi_enable();
+  power_twi_enable();
   uint8_t changes = watch_tick(now);
 
   if (changes >= 3) buzzer_sound(BUZZER_SOUND_CHIME);

#include <EEPROM.h>

#include "SGL.h"
#include "SSD1331.h"

#include "defs.h"
#include "xadow.h"

// These are arduino pin definitions. Note that on leonardo
// boards MOSI and sclk cannot be directly used, and hence
// D16 and D15 is a thing only with the Xadow board
#define cs                  (A5)
#define dc                  (3)
#define mosi                (16)
#define sclk                (15)

#define LEFT_GUTTER_SIZE    (FONT_X)
#define FONT_SIZE           (1)

}

void loop() {
  return;
  power_twi_disable();

  if (Xadow.getChrgState() == NOCHARGE) {
    // when on battery power disable usb and uart and
