Python Forum

Full Version: Writing data from a DHT11 to LCD
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I know how to write characters to the LCD. How do I take the temperature data from the DHT11 and write that to the LCD. Also I can't find information on what functions are included in RPLCD module. I learned about using that module to write characters from a YouTUbe video, which is a very time consuming method. Where are there documents on the Python installed packages(modules?)?
Thanks for any help.

my code here
Yessss, reading is much faster than watching YouTube Vidos.
You can start here: https://github.com/hexdump42/Adafruit_Python_DHT

Follow the instructions. You can install this package via pip.
I use RPLCD and can write DHT11 data to the python screen and can write character strings to the LCD, but need to find a method to convert the float data from the DHT11 to a string since RPLCD apparently only can send a character string to the LCD.