 
 void setup() 
 {
+  Serial.begin(9600);
   pinMode( motorPin, OUTPUT); // Motor pin Setup
   strip.begin(); // Neopixel Setup
   strip.show(); // Initialize all pixels to 'off'

Adafruit_NeoPixel strip = Adafruit_NeoPixel(PIXEL_COUNT, PIXEL_PIN, NEO_GRB + NEO_KHZ800);
DHT dht(DHTPIN, DHTTYPE);
TSL2561 tsl(TSL2561_ADDR_FLOAT); 
GSM gsmAccess;
GSM_SMS sms;

// Array to hold the number a SMS is retreived from

    // Read message bytes and print them
    while(c=sms.read())
      inputcommand+=c;
    sms.beginSMS(senderNumber);
    
    if(findWord("water",inputcommand)){
      colorWipe(strip.Color(0, 0, 255), 50);  // Blue
      activateWatering(motorPin,3);
      sms.print("Thanks for the drink!");
      sms.endSMS();
    }
    else if(findWord("light",inputcommand)){
      colorWipe(strip.Color(0, 0, 0), 50);    // Black/off
      uint16_t x = tsl.getLuminosity(TSL2561_VISIBLE);  
      String stringOne = "The lumosity is: " ;
      String stringThree = stringOne + x;
      sms.print(stringThree);
      delay(1000);
      sms.endSMS();
      //delay(400);  
    }
    else if(findWord("temp",inputcommand)){
      colorWipe(strip.Color(0, 0, 0), 50);
      char buffer[10];
      float h = dht.readHumidity();
      float f = dht.readTemperature(true); // Read temperature as Fahrenheit
      String dht_stringOne = "The temp is: " ;
      String dht_stringThree = dht_stringOne + dtostrf(f, 5, 1, buffer);
      sms.print(dht_stringThree);
      delay(1000); 
      sms.endSMS();
    }
    
    else if(findWord("hello",inputcommand)){
      colorWipe(strip.Color(255, 128, 255), 50);
      sms.print("Hello my name is Erb, lets grow some plants!");
      //delay(1000);
      sms.endSMS();
        
    }
    else if(findWord("error",inputcommand)){
      colorWipe(strip.Color(255, 0, 0), 50);
      sms.print("You are experiencing an error...."); 
      delay(1000);
      sms.endSMS();
    }
    else {
      colorWipe(strip.Color(255, 0, 0), 50);
      //sms.beginSMS(senderNumber);
      sms.print("I dont know what that means :( ");
      delay(1000);
      sms.endSMS();
   
    }
    
    sms.flush();
    
  }
  }


