For temp sensor I'm using the W1Thermsensor libary
For the LCD I'm using the I2C lcd driver
The print (temperature_in_celsius) will display the temp
When i try to send it to the lcd is were the trouble is??
help or suggestions would be grateful.
Code: Select all
import I2C_LCD_driver from time import * from w1thermsensor import W1ThermSensor mylcd = I2C_LCD_driver.lcd() sensor= W1ThermSensor (sensor_id="062017f57999") temperature_in_celsius = sensor.get_temperature() print (temperature_in_celsius) mylcd.lcd_display_string(temperature_in_celsius)