 
   //Luftdruck
   float pressureReadout = bme.readPressure() / 100.0F;
-  uint16_t pressure = (uint16_t ) ((pressure / 1013.25) * 100);
+  uint16_t pressure = (uint16_t ) ((pressureReadout / 1013.25) * 100);
   uint8_t pressureByte = (uint8_t) pressure;
-  Serial.println(pressureByte); 
+  Serial.println(pressureByte);
 
 
   //Luftfeuchtigkeit

  sensordata[4] = lowhumidityByte;
  sensordata[5] = lightstromInt;
  sensordata[6] = gndPercent;

  
}


void do_send(osjob_t* j) {
  
  sensor_data();

  // Check if there is not a current TX/RX job running

  .nss = 8,
  .rxtx = LMIC_UNUSED_PIN,
  .rst = 5,
  .dio = {3, 6, LMIC_UNUSED_PIN},
};

void onEvent (ev_t ev) {
