     led_off();
     // Take a break before continuing counting
     delay(COUNTING_PAUSE_TIME);
+  }
+}
+
+void setupSHT31(){
+  if (! sht31.begin(0x44)) {   // Set to 0x45 for alternate i2c addr
+    Serial.println("Couldn't find SHT31");
+    while (1) delay(1);
   }
 }
 


void finishReportingCycle() {
  //TODO implement
  // Datastructure: Count;Temparature;Humidity;GPS
  // TODO GPS, for now we leave it out
  String gpspos = "Unknown";
  // TODO get temp and humidity
  long temparature = 0;
  long humidity = 0;
  // Send message
  String msg = String(bikeCount) + ";" + String(temparature, DEC) + ";" + String(humidity, DEC) + ";" + gpspos;
  Serial.println("Transmitting [" + msg + "]");
  myLora.txUncnf(msg); // non blocking call
  // Reset cylce


  setupRN2483();
  setupSDP610();
  setupSHT31();
   
  led_off();
  delay(2000);
