   for(int i=0; i<list_size; i++)
   {
     
-    Serial.print("Anchor ");
-    Serial.print(i);
-    Serial.print(": 0x");
-    Serial.println(device_ids[i], HEX);
-        
+    Serial.print("ANCHOR,");
+    Serial.print("0x");
+    Serial.print(device_ids[i], HEX);
+    Serial.print(",");    
     status = Pozyx.getDeviceCoordinates(device_ids[i], &anchor_coor);
     Serial.print(anchor_coor.x);
-    Serial.print(";");
-    Serial.println(anchor_coor.y);
-    //printCoordinates("",anchor_coor);
+    Serial.print(",");
+    Serial.print(anchor_coor.y);
+    Serial.print(",");
+    Serial.println(anchor_coor.z);
     
   }    
 }
 
+void SetAnchorsManual(){
+ 
+ // update this function with the anchor coordinates you have manually measured.
+ // Manually setting the anchor positions is recommended for the best accuracy. 
+ 
+ int i=0;
+ for(i=0; i<num_anchors; i++){
+   device_coordinates_t anchor;
+   anchor.network_id = anchors[i];
+   anchor.flag = 0x1; 
+   anchor.pos.x = anchors_x[i];
+   anchor.pos.y = anchors_y[i];
+   anchor.pos.z = heights[i];
+   Pozyx.addDevice(anchor);
+ }
+ 
+}

  Serial.println(); 
}

void printCalibrationResult(){
  uint8_t list_size;
  int status;

////////////////// PARAMETERS //////////////////
////////////////////////////////////////////////

uint8_t num_anchors = 4;                                    // the number of anchors
uint16_t anchors[4] = {0x1156, 0x256B, 0x3325, 0x4244};     // the network id of the anchors
int32_t heights[4] = {2750, 2000, 1900, 2350};              // anchor z-coordinates in mm
boolean bProcessing = false;                                // set this to true to output data for the processing sketch         

// only required for manual anchor calibration
int32_t anchors_x[4] = {0, 10000, 1000, 9000};              // anchor x-coorindates in mm
int32_t anchors_y[4] = {0, 0, 7000, 8000};                  // anchor y-coordinates in mm

////////////////////////////////////////////////

