update readme of devterm_fan_daemon_cm4

This commit is contained in:
cuu 2024-06-06 06:17:03 -07:00
parent 24d97cc2ae
commit 5a249d7dc0

View File

@ -23,4 +23,15 @@ then restart systemd service to take effect
`sudo systemctl restart devterm-fan-temp-daemon` `sudo systemctl restart devterm-fan-temp-daemon`
## How to control the fan from GPIO
``` start the fan
sudo gpio mode 17 out
sudo gpio write 17 1
```
```stop the fan
sudo gpio mode 17 out
sudo gpio write 17 0
```