#include // Define pin for connecting the data wire of the DHT sensor #define DHTPIN 12 // Function prototypes void readDHTData(int* temperature, int* humidity); int main() { // Initialize Serial communication // TODO: Implement Serial communication setup while (1) { // Read temperature and humidity from DHT sensor int temperature, humidity; readDHTData(&temperature, &humidity); float temp = temperature * 0.1; float vlaga = humidity * 0.1; // Print temperature and humidity values to screen printf("Temperatura = %.1f Vlaga = %.1f\n", temp, vlaga); // Delay for 2 seconds sleep(2000000); } return 0; } void readDHTData(int* temperature, int* humidity) { // TODO: Implement DHT sensor data reading }