     // initialize GPS
     sodaq_gps.init(GPS_ENABLE);
 
-    // myLora.setDR(0); //set the datarate at which we measure. DR7 is the best.
     pinMode(LED_BLUE, OUTPUT);
     digitalWrite(LED_BLUE, HIGH);
     pinMode(LED_RED, OUTPUT);


  while(sodaq_gps.getLat()==0.0)
  {
    digitalWrite(LED_RED, LOW);
    sodaq_gps.scan();
    digitalWrite(LED_RED, HIGH);

    join_result = myLora.init();
    digitalWrite(LED_BLUE, HIGH);
  }

  SerialUSB.println("Successfully joined TTN");

}
