mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-12 10:18:49 +01:00
update devterm_fan_daemon_cm4 code
This commit is contained in:
parent
ca45c513e3
commit
9a0598e087
@ -11,7 +11,7 @@ def isDigit(x):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def measure_temp():
|
def measure_temp():
|
||||||
temp = os.popen("/opt/vc/bin/vcgencmd measure_temp").readline()
|
temp = os.popen("/usr/bin/vcgencmd measure_temp").readline()
|
||||||
temp2 = temp.replace("temp=","")
|
temp2 = temp.replace("temp=","")
|
||||||
temp3 = temp2.replace("'C","").strip()
|
temp3 = temp2.replace("'C","").strip()
|
||||||
#print(temp3)
|
#print(temp3)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user