我有一个raspberry pi b+,希望通过这个驱动程序bcm2835_thermal.c https://github.com/raspberrypi/linux/blob/rpi-4.19.y/drivers/thermal/broadcom/bcm2835_thermal.c读取Linux内核文件中的CPU温度。我应该在Linux文件中调用探测函数和get_temp函数吗?
任何
是否有一种使用Python通过Linux访问CPU温度的方法。我能让它与tkinter一起工作吗?(据我所知,tkinter无法正确地使用while循环。)# How can I get a continuous CPU temperature reading for Linux (Mac//Raspberry Pi) using a
def function