add dht dependency
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user