EasyManua.ls Logo

Eckstein komponente KS0530 - Page 124

Default Icon
160 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
124
break;
}
// DISPLAT DATA
Serial.print("humidity:");
Serial.print(DHT.humidity);
Serial.print(" temperature:");
Serial.println(DHT.temperature);
delay(200);
}
(6)Test Results:
After uploading test code, powering it up via USB cable and open the serial
monitor to set the baud rate to 9600, the serial monitor displays the value
of the current humidity and temperature as shown below: