         lastAliveCheck = millis();
         connected = false;        
     }
-    if (esp8266Serial.find("[(")) {
-        esp8266Serial.readBytes(cb, 1);
+    if (esp8266serial.find("[(")) {
+        esp8266serial.readBytes(cb, 1);
         if (cb[0] == 'r') {
             //ready
             if (connected) {

#define MQTTretry 20
#define MQTTqos 2
#define esp8266alive 40
#define esp8266Serial Serial

#define rumorePin 2
#define buzzPin 4

// #################### setup e loop ####################

void setup() {
  esp8266serial.begin(9600);
  esp8266serial.setTimeout(500);
  
  while(!connected)
    checkComm();    
