Changes

Jump to navigation Jump to search

X735 Software

523 bytes added, 11:24, 6 May 2022
There are two ways to achieve it;
1. Put the following line at the end of .bashrc file: (Default)
cd ~ nano vi /etc/rc.bashrclocal
copy the following line to .bashrc file.
python /home/pi/x735-v2.5/pwm_fan_control.py &
<source lang='shell'>
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
 
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
 
/etc/x735pwr.sh &
python /home/pi/x735-v2.5/pwm_fan_control.py&
exit 0
~
</source>
NOTE: Maybe you need to modify the file path if you use other OS.

Navigation menu