 Adafruit_IO_Client aio = Adafruit_IO_Client(client, AIO_KEY);
 
 void setup() {
-
+  Serial.begin(115200);
+  Serial.println("HUZZAH Trigger Basic");
+  
   EEPROM.begin(512);
   pinMode(DOOR, INPUT_PULLUP);
 

void wifi_init() {

  // wifi init
  WiFi.begin(WLAN_SSID, WLAN_PASS);

  // wait for connection
  while (WiFi.status() != WL_CONNECTED)
    delay(500);

  // AIO init
  aio.begin();

}


  // convert battery level to percent
  level = map(level, 580, 774, 0, 100);
  Serial.print("Battery level: "); Serial.print(level); Serial.println("%");
  // turn on wifi if we aren't connected
  if(WiFi.status() != WL_CONNECTED)
    wifi_init();
