X708-script: Difference between revisions

 
No edit summary
Line 134: Line 134:
</blockquote>
</blockquote>


<syntaxhighlight lang="python" line highlight="9-11">
<pre>
#!/usr/bin/env python3
#!/usr/bin/env python3


Line 152: Line 152:
     """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]''': If you can't understand <code>fan.py</code>, please ignore this step. Because the X708 fan will run at low speed by default, this cooling capacity is sufficient.
'''[PS]''': If you can't understand <code>fan.py</code>, please ignore this step. Because the X708 fan will run at low speed by default, this cooling capacity is sufficient.