From 3cd4444f91664e5a2d1a78b3f1814aec15758782 Mon Sep 17 00:00:00 2001 From: Uri Tauber Date: Mon, 26 Jan 2026 19:21:02 +0200 Subject: [PATCH] Adding README information --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index d59df835..d556febb 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,20 @@ Connect your Xteink X4 to your computer via USB-C and run the following command. ```sh pio run --target upload ``` +### Debugging + +After flashing the new features, it’s recommended to capture detailed logs from the serial port. + +First, make sure all required Python packages are installed: + +```python +python3 -m pip install serial colorama matplotlib +``` +after that run the script: +```sh +python3 scripts/debugging_monitor.py +``` +This was tested on Debian and should work on most Linux systems. Minor adjustments may be required for Windows or macOS. ## Internals