   digitalWrite(IRVccPin, LOW);   // disable sensor
 
 
+  // construct message
+  unsigned char msg[13];
+  msg[0] = (SoilMoisture >> 8) & 0xFF;
+  msg[1] = SoilMoisture & 0xFF;
+  msg[2] = (red >> 8) & 0xFF;
+  msg[3] = red & 0xFF;
+  msg[4] = (green >> 8) & 0xFF;
+  msg[5] = green & 0xFF;
+  msg[6] = (blue >> 8) & 0xFF;
+  msg[7] = blue & 0xFF;
+  msg[8] = SoilTemp & 0xFF;
+  msg[9] = AirTemp & 0xFF;
+  msg[10] = AirHumidity & 0xFF;
+  msg[11] = (photoIR >> 8) & 0xFF;
+  msg[12] = photoIR & 0xFF;
+
+  // display msg
+  /*
+  for (int i=0; i<sizeof(msg); i++)
+  {
+    Serial.print(msg[i], HEX);
+    Serial.print(", ");
+  }
+  Serial.println();
+*/
+
   // DISPLAY data
   Serial.print(SoilMoisture, DEC); // soil moisture level
   Serial.print(", ");

      break;
  }
  // display data
signed int AirTemp = DHT.temperature * 10;
unsigned int AirHumidity = DHT.humidity * 10;


  //IR PHOTOSENSOR


  // SOIL TEMPPERATURE
  sensors.requestTemperatures(); // Send the command to get temperatures
  signed char SoilTemp = sensors.getTempC(soilThermometer);


  // DHT AIR T/RH SENSOR
