#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "DHTesp.h"
#define PIREntry_PIN 23
#define PIRExit_PIN 22
#define LED_PIN 5
#define PIR_IND 19
#define DHTSensor_PIN 13
#define RELAY_PIN 14
#define TEMP_MIN 24
#define TEMP_MAX 25
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
// Create a task for reading temperature
DHT_vTaskCreate();
PIR_vTaskCreate();
}
void loop()
{
// put your main code here, to run repeatedly
}