#include"sensor.h"
#include "DHT.h"
AnalogSensor analogSensor(0);
DHT22DigitalSensor dht22Sensor(3);
void setup() {
dht22Sensor.begin();
}
void loop() {
// Read and process sensor data in the loop
// Example usage of analog and DHT22 digital sensors
float analogValue = analogSensor.readValue();
float humidity = dht22Sensor.readValue();
float temperatureC = dht22Sensor.readTemperatureCelsius();
dht22Sensor.display();
delay(2000);
}