X708-Software: Difference between revisions

No edit summary
 
No edit summary
Line 126: Line 126:


You can control the fan running at high speed or low speed via modify the CPU temperature threshold in fan.py script file (yellow highlight line)
You can control the fan running at high speed or low speed via modify the CPU temperature threshold in fan.py script file (yellow highlight line)
‎<syntaxhighlight lang="python" line highlight="9-11">
‎<pre>
#!/usr/bin/env python3
#!/usr/bin/env python3


Line 144: Line 144:
     """Get the core temperature.
     """Get the core temperature.
     Run a shell script to get the core temp and parse the output.
     Run a shell script to get the core temp and parse the output.
</syntaxhighlight>
</pre>


'''[PS]'''  
'''[PS]'''