jetson nx fan auto pwm

参考:Jetson Nano-PWM自动调速_Ay_yzx的博客-CSDN博客
代码
#!/usr/bin/env python
import os
# import commands

# from the path of this pattern
# path = '/sys/kernel/debug/soctherm/{dev}/temp'
path = '/sys/kernel/debug/bpmp/debug/soctherm/group_{dev}/temp'

# get the temperature from following sensors
# dev = ['cpu', 'gpu', 'mem', 'pll']
dev = ['CPU', 'GPU', 'AUX', 'PLLX']
# the fan PWM factor is 0 ~ 255, make 10 as the min, 255 as the max
# the fan speed will be sliding from 10% ~ 100% ac

jetson nx fan auto pwm最先出现在Python成神之路

版权声明:
作者:感冒的梵高
链接:https://www.techfm.club/p/19498.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>