stuff
This commit is contained in:
parent
cf1e1970a5
commit
282bcd1fa7
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ async def tcpu_monitor():
|
|||
loop = asyncio.get_event_loop()
|
||||
while True:
|
||||
with open("/sys/class/thermal/thermal_zone0/temp") as temp:
|
||||
loop.create_task(disp.write(3, f"{int(temp.read())/1000:4.1f}{chr(0b11011111)}C", 14))
|
||||
loop.create_task(disp.write(4, f"{int(temp.read())/1000:4.1f}{chr(0b11011111)}C", 14))
|
||||
await asyncio.sleep(1)
|
||||
|
||||
async def main():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue