 // Read distance values from ultrasonic and publish json 
 
 void JsonReportSensorDistance(){
-
   // Create Json and publish
   String jsonDist = String("{\"sensor\":\"distance\",\"time\":\"" + TimeStr + "\",\"data\":[" + ultrasonic.Ranging(CM) + "]}");
   Serial.println(jsonDist); // CM or INC

  Serial.println(jsonMagneto);
  memset(bufff, 0, 512); jsonMagneto.toCharArray(bufff, 512);
  mqtt.publish("iot-uplink", bufff);
}

// Read line tracker values and publish json 

void JsonReportSensorEdge() {
  
  // Create Json and publish
  String jsonEdge = String("{\"sensor\":\"edge\",\"time\":\"" + TimeStr + "\",\"data\":[" + left_edge + "," + right_edge + "]}");
  Serial.println(jsonEdge);

// Read RFID tag value and publish json 

void JsonReportSensorRFID() {
  if ( ! rfid.PICC_ReadCardSerial()) return;
  // Serial.print(F("PICC type: "));
  MFRC522::PICC_Type piccType = rfid.PICC_GetType(rfid.uid.sak);
