   // Once connected, publish an announcement...
   char companionchannel[32]="";
   strcat(companionchannel,outTopic);
-  strcat(companionchannel,"\\");
+  strcat(companionchannel,"/");
   strcat(companionchannel,clientId);
   mqttclient.publish((char*)outTopic,payload);
   mqttclient.publish((char*)companionchannel,payload);
   Serial.print(outTopic);
+  Serial.println(payload);
+  Serial.print(companionchannel);
   Serial.println(payload);
 }
 

      pm10=-1;
      return;
    }
    if(Serial.available()){
      data=Serial.read();
    if(data==0x42 && !startcount){
      startcount = true;
      count++;

//#define USE_SHT31

#ifdef USE_DHT
  #include <DHT.h>
  #define DHTPIN 2     // what digital pin we're connected to
  #define DHTTYPE DHT22   // DHT11 DHT21 DHT22=(AM2302), AM2321
  DHT dht(DHTPIN, DHTTYPE);
