Added and integrated bmp280 temperature sensor

This commit is contained in:
2024-03-24 16:30:26 +01:00
parent 9f63477aa3
commit e7dd0ea1f6
7 changed files with 188 additions and 80 deletions
+6 -1
View File
@@ -40,6 +40,7 @@
// ProjectIncludes
// All include files that are provided by the project
#include "esp_event.h"
#include "esp_http_client.h"
// --------------------------------------------------------------------------------------------------------------------
// Constant and macro definitions
@@ -65,6 +66,9 @@ class ota
static const uint32_t checkInterval_ms = 10000;
typedef void (*updateStatusCallback)(int);
static updateStatusCallback usCallback;
// Class Constructor
ota();
@@ -79,7 +83,8 @@ class ota
// Private Section
// -----------------------------------------------------------------------------------------------------------------
private:
int imageSize;
static bool updateActive;
static int imageSize;
static void eventHandler(void* arg, esp_event_base_t event_base, int32_t event_id, void* event_data);
};