diff --git a/Code/Python_Code/20.1.1_I2CLCD1602/I2CLCD1602.py b/Code/Python_Code/20.1.1_I2CLCD1602/I2CLCD1602.py index a326d84..2e94454 100644 --- a/Code/Python_Code/20.1.1_I2CLCD1602/I2CLCD1602.py +++ b/Code/Python_Code/20.1.1_I2CLCD1602/I2CLCD1602.py @@ -11,7 +11,7 @@ from Adafruit_LCD1602 import Adafruit_CharLCD from time import sleep, strftime from datetime import datetime -def get_cpu_temp(): # get CPU temperature and store it into file "/sys/class/thermal/thermal_zone0/temp" +def get_cpu_temp(): # get CPU temperature from file "/sys/class/thermal/thermal_zone0/temp" tmp = open('/sys/class/thermal/thermal_zone0/temp') cpu = tmp.read() tmp.close()