 char _sbuf[256];
 char _sbuf2[64];
 
-uint16_t now = 0;
-uint16_t checkpoint;
+millis_t now = 0;
+millis_t checkpoint;
+
+typedef enum {
+  OK,
+  ERROR,
+  ERROR_SYNC_TIMEOUT,
+};
 
 typedef enum {
   SCREEN_WATCH,

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

#include "xadow.h"

// These are arduino pin definitions. Note that on leonardo

  }


  millis_t t = millis();
  now += t - checkpoint;
  checkpoint = t;
}
