From 436eaef18f7c2fbd1bb9f0739b21c13c3db955d9 Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 6 Jan 2025 16:07:30 +0800 Subject: [PATCH] docs: Make runnable direct --- doc/PID tuning.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/PID tuning.md b/doc/PID tuning.md index 1c48a00..a8de3e9 100644 --- a/doc/PID tuning.md +++ b/doc/PID tuning.md @@ -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