Changes

Jump to navigation Jump to search

X735 Software

107 bytes removed, 11:31, 6 May 2022
There are two ways to achieve it;
1. Put the following command line at in the end of /etc/rc.bashrc local file: (Default)
vi /etc/rc.local
copy the following line to .bashrc file.
python /home/pi/x735-v2.5/pwm_fan_control.py &
<source lang='shell' line highlight="21">
#!/bin/sh -e
</source>
NOTE: Maybe * Please change 'python' to 'python3' if you need to modify are using python3; * Please make sure the file path if you use other OSof pwm_fan_control.py is correct.
In this way, this line of command will be executed automatically when the user logs in;
2. Use crontab to add a timed task. For details, please refer to [[How to add crontab job]].

Navigation menu