       + String(second) + " "
       + "unknown "  // temperature
       + "unknown "  // humidity
-      + String(compass_pitch) + " "
-      + String(compass_roll) + " "
-      + String(fwd_range_cm) + " "
-      + String(rear_range_cm) + " "
-      + String(otherData) + " ";
+      + String(compass_pitch, 1) + " "
+      + String(compass_roll, 1) + " "
+      + String(fwd_range_cm, 1) + " "
+      + String(rear_range_cm, 1) + " ";
   
      // USB debugging
      Serial.println(logMessage);


void shutdownPi()
{
  writeCommand("SHUTDOWN");
}


    
    // *****************

    String logMessage = "DATA "
      + String(gps_latitude, 6) + " "
      + String(gps_longitude, 6) + " "
      + String(gps.f_altitude(), 1)+ " "
      + String(gps.f_course(), 2) + " "
      + String(compass_heading, 1) + " "
      + String(gps.f_speed_kmph(), 3) + " "
      + String(year) + " "
      + String(month) + " "
      + String(day) + " "
