 #include <WiFiClient.h>
 #include <aJSON.h>
 
+#define USE_UART
+
 #define DEFAULT_UDP_MEMBERSHIP  "225.0.0.37"
 #define DEFAULT_UDP_PORT  21928
 

volatile int green_state = LOW;

//access point should only work for b and g
char ssid[] = "hellfire";
char password[] = "elec6887";
WiFiServer server(8000);
WiFiUDP Udp;


enum {IDLE = 0, ANNOUNCE=100, SERVICE=200 };

  digitalWrite(GREEN_LED, LOW);
  digitalWrite(YELLOW_LED, LOW);
  digitalWrite(RED_LED, LOW);

#ifdef USE_UART  
  Serial.begin(115200);
#endif

  WiFi.begin(ssid, password);
  
  while(WiFi.status()!=WL_CONNECTED) {
