add dht dependency

This commit is contained in:
2025-12-02 20:07:04 +01:00
parent 6dd232fb83
commit 615637e24c
3 changed files with 14 additions and 1 deletions

View File

@@ -4,12 +4,16 @@
/* Includes */
/* ESP APIs */
#include "esp_random.h"
#include "dht.h"
/* Defines */
#define HEART_RATE_TASK_PERIOD (1000 / portTICK_PERIOD_MS)
#define DHT_GPIO_PIN 23
#define DHT_SENSOR_TIPO DHT_TYPE_DHT11
/* Public function declarations */
uint8_t get_temp(void);
void update_temp(void);
void init_sensor(void);
#endif // HEART_RATE_H