docs: Make runnable direct

This commit is contained in:
atse 2025-01-06 16:07:30 +08:00
parent 8db4867ebf
commit 436eaef18f

View File

@ -13,7 +13,8 @@ When tuning Thermostat PID parameters, it is helpful to view the temperature, PI
To use the Python real-time plotting utility, run
```shell
python pythermostat/pythermostat/plot.py
cd pythermostat/
python -m pythermostat.plot
```
![default view](./assets/default%20view.png)
@ -49,7 +50,8 @@ A PID auto tuning utility is provided in the PyThermostat library. The auto tuni
To run the auto tuning utility, run
```shell
python pythermostat/pythermostat/autotune.py
cd pythermostat/
python -m pythermostat.autotune
```
After some time, the auto tuning utility will output the auto tuning results, below is a sample output