new file: main/include/functions.h
modified: main/include/sht31.h renamed: main/include/lib.h -> main/src/functions.c modified: main/src/http_client.c modified: main/src/main.c modified: main/src/sht31.c
This commit is contained in:
1 parent
1341a1000a
commit
f4436308dc
6 files changed
+53
-60
No files matched your search
@@ -10,13 +10,8 @@ extern "C" {
|
||||
// Function to initialize the sensor
|
||||
esp_err_t sht31_init(void);
|
||||
|
||||
// Function to get the current humidity level
|
||||
// Returns the humidity as a percentage (0-100)
|
||||
float sht31_get_humidity(void);
|
||||
|
||||
// Function to get the current temperature
|
||||
// Returns the temperature in degrees Celsius
|
||||
float sht31_get_temperature(void);
|
||||
// Test sensor and print output to serial
|
||||
void sht31_sensor_test_task(void *pvParameters);
|
||||
|
||||
esp_err_t sht31_read_temp_hum(float *temperature, float *humidity);
|
||||
|
||||
|
||||
Reference in new issue
Block a user