Added and integrated bmp280 temperature sensor
This commit is contained in:
@@ -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);
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user