
Mantém o estado atual dos pinos (HIGH ou LOW) Variáveis para armazenar os valores dos sensores Servidor que receberá as requisições na porta 80 (porta padrão http) SSID e senha da rede wifi para o ESP se conectar Sensor de Temperatura DS18B20 OneWire oneWire(PIN_DS18B20) We point to the server that will receive the requests on port 80 (standard port http), as well as the variables to store the values of the sensors. We then set out for definitions involving the WiFi network, such as the SSID and password for the ESP to connect. We continue with the DS18B20 temperature sensor, and the DHT22 temperature and humidity sensor. #define PINS_COUNT 16 //Quantos pinos a partir do primeiro serão utilizados

#define FIRST_PIN 36 //Pino onde está o primeiro relê We also point out the pin where the first relay will be and how many pins (starting from this first one) will be used.

We start off by including the libraries and defining the pins attached to the sensors.
