let's try to get temperature and humidity reading on the LCD screen, if you don't know how to use the LCD with Arduino, make sure you check out my previous video on how to border the LCD with Arduino and how to create a custom sign.
Start the code by adding the libraries, defining the DHT data stick, the DHT module type, the lcd setting, and then defining a custom character for the Grad Celsius symbol, then in the idle setting, we will do the basic LCD configurations and in the main loop we define two variables for temperature and humidity that will store the value from the DHT sensor. The syntax here is the temperature. Main humidity and dht.readTemperature where DHT is the name we assigned to this sensor during initialization step. And then we just write out these values on the LCD.