Changes

Jump to navigation Jump to search

X735 Software

457 bytes added, 11:22, 19 July 2021
no edit summary
After a reboot, we can run ```sudo read_fan_speed.py``` to get an update on the fan's current speed. Nice!
 
'''How to make the fan script run automatically after booting?'''
 
There are two ways to achieve it;
1. Put the following line at the end of .bashrc file: (Default)
cd ~
nano .bashrc
copy the following line to .bashrc file.
 
python /home/pi/x735-v2.5/pwm_fan_control.py &
 
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]].
Return to [[X735]]

Navigation menu