 PixelAnimation pixel(matrix);
 FaceAnimation face(matrix);
 AumAnimation sacred(matrix);
-//UberAnimation uberAnimation(26000);
-//UberAnimation uberAnimation(5000);
-WebController uberAnimation(5000);
 
+const unsigned long controllerPeriod = 5000; //26000
+
+#ifdef WEBCONTROLLER
+#include "WebController.h"
+WebController uberAnimation(controllerPeriod);
+#else // NOCONTROLLER
+UberAnimation uberAnimation(controllerPeriod);
+#endif
 
 void setup() {
   ticker.setText("Once upon a time, in a galaxy far, far away");

#include "AumAnimation.h"
#include "UberAnimation.h"

#include "WebPage.h"

const char* ssid = "Thing";
const char* password = "sparkfun";

#include "WebController.h"

const int PIN = 5;
const int NUMPIXELS = 64;
const int DELAY = 100;

//Adafruit_NeoMatrix matrix = Adafruit_NeoMatrix(8, 8, PIN, 
//  NEO_MATRIX_TOP + NEO_MATRIX_LEFT + NEO_MATRIX_ROWS + NEO_MATRIX_PROGRESSIVE,
//  NEO_GRB + NEO_KHZ400);
Adafruit_NeoMatrix matrix = Adafruit_NeoMatrix(8, 8, PIN, 
  NEO_MATRIX_TOP + NEO_MATRIX_RIGHT + NEO_MATRIX_COLUMNS + NEO_MATRIX_PROGRESSIVE,
  NEO_GRB + NEO_KHZ400);

TickerAnimation ticker(matrix);

// options for remote controller
// NOCONTROLLER - no remote
// WEBCONTROLLER - esp8266
#define WEBCONTROLLER

#include <Adafruit_GFX.h>
#include <Adafruit_NeoMatrix.h>
#include <Adafruit_NeoPixel.h>

#include "TickerAnimation.h"
#include "StackAnimation.h"
