 void setup() {
 
   // set button pin as an input
-  pinMode(BUTTON, INPUT);
+  pinMode(BUTTON, INPUT_PULLUP);
 
   // wait until Serial is available
   while (!Serial);

    return;

  // send the proper value to AIO depending on button state
  if(current == HIGH)
    sendData("button", "1");
  else
    sendData("button", "0");

  // save the button state
  last = current;


    Serial.println(F("Couldn't find FONA"));
    while(1);
  }
  
  // turn on GPRS
  fona.enableGPRS(true);

}

