mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-29 04:53:48 +00:00
esp32 temperature node
This commit is contained in:
@@ -20,6 +20,8 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
static const char *TAG = "esp32 node";
|
static const char *TAG = "esp32 node";
|
||||||
|
|
||||||
|
// The three variables for storing the sensor readings (float for decimals)
|
||||||
float temperature = 0.0f, humidity = 0.0f, pressure = 0.0f;
|
float temperature = 0.0f, humidity = 0.0f, pressure = 0.0f;
|
||||||
|
|
||||||
int i2c_master_port = 0;
|
int i2c_master_port = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user