 
     updateEntriesCount(entriesCounter);
 
-    delay(1000/SAMPLING);
+    delay(960/SAMPLING);
   }
 }

#include <EEPROM.h>
#include "SparkFunBME280.h"
#include "Wire.h"
#include "SPI.h"


#define SAMPLING 1                  // Samples Per Second.

// DON'T TOUCH IN THE CODE BELOW
Adafruit_BMP280 bmp;

float altReference = -900;
uint32_t entriesCounter = 0;
