From fe8c0bc264adf1c5175dee4d278a7fd82644a8ea Mon Sep 17 00:00:00 2001
From: addictCode <2286173541@qq.com>
Date: Wed, 30 Oct 2024 17:09:50 +0800
Subject: [PATCH] update: xiao round display update
---
.../SeeedStudio_Round_Display_for_XIAO.md | 69 ++++++++-----------
1 file changed, 30 insertions(+), 39 deletions(-)
diff --git a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_Expansion_board/Round-display-for-XIAO/SeeedStudio_Round_Display_for_XIAO.md b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_Expansion_board/Round-display-for-XIAO/SeeedStudio_Round_Display_for_XIAO.md
index 86f88c819a83..00c57188e0f1 100644
--- a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_Expansion_board/Round-display-for-XIAO/SeeedStudio_Round_Display_for_XIAO.md
+++ b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_Expansion_board/Round-display-for-XIAO/SeeedStudio_Round_Display_for_XIAO.md
@@ -175,50 +175,39 @@ If this is your first time using Arduino, we highly recommend you to refer to [G
#### Step 3. Configure the Arduino IDE for the XIAO you are using.
-- If you want to use **Seeed Studio XIAO SAMD21** for the later routines, please refer to **[this tutorial](https://wiki.seeedstudio.com/Seeeduino-XIAO/#software)** to finish adding.
-
-- If you want to use **Seeed Studio XIAO RP2040** for the later routines, please refer to **[this tutorial](https://wiki.seeedstudio.com/XIAO-RP2040-with-Arduino/#software-setup)** to finish adding.
+- If you want to use **Seeed Studio XIAO RP2350** for the later routines, please refer to **[this tutorial](https://wiki.seeedstudio.com/getting-started-xiao-rp2350/)** to finish adding.
- If you want to use **Seeed Studio XIAO nRF52840** for the later routines, please refer to **[this tutorial](https://wiki.seeedstudio.com/XIAO_BLE/#software-setup)** to finish adding.
- If you want to use **Seeed Studio XIAO ESP32C3** for the later routines, please refer to **[this tutorial](https://wiki.seeedstudio.com/XIAO_ESP32C3_Getting_Started#software-setup)** to finish adding.
+- If you want to use **Seeed Studio XIAO ESP32C6** for the later routines, please refer to **[this tutorial](https://wiki.seeedstudio.com/xiao_esp32c6_getting_started/#software-preparation)** to finish adding.
+
- If you want to use **Seeed Studio XIAO ESP32S3** for the later routines, please refer to **[this tutorial](http://wiki.seeedstudio.com/xiao_esp32s3_getting_started#software-preparation)** to finish adding.
#### Step 4. Add the library of Round Display to Arduino.
-First, you need to search and download the latest version **TFT_eSPI** and **LVGL** libraries in the Arduino IDE.
-
-
-
-If you want to use the RTC function on the expansion board, then you also need to search and install the **I2C BM8563 RTC** library.
+First, you need to download **TFT_eSPI**, **LVGL** and **Round Screen** libraries in the following links.
-
+
-:::tip
-The **TFT_eSPI** library compatible with Round Display has been submitted for merge request, so when the next version is released, you can search and download **TFT_eSPI** in Arduino IDE to use it normally. Until then, if you need to use the **TFT_eSPI** library for Round Display, please download it from here.
+
-If you have previously installed the **TFT_eSPI** library, please remove the original library and install the new one.
-:::
-
-Then, we also need to download and import the configuration library for Round Display.
-
@@ -228,6 +217,10 @@ Since you have downloaded the zip Library, open your Arduino IDE, click on **Ske
+If you want to use the RTC function on the expansion board, then you also need to search and install the **I2C BM8563 RTC** library.
+
+
+
Then, you need to take the `lv_conf.h` file and cut it to the root directory of the Arduino library.
:::caution
@@ -242,30 +235,28 @@ On Windows, the root directory of the Arduino library is:
#### Step 5. (Optional) Configure the usage environment
-Round Display currently adapts two different library-based displays, one **TFT_eSPI** and the other **Arduino GFX**. For the XIAO SAMD21 and XIAO nRF52840, there are not enough memory to run the TFT library, and the Arduino GFX will have significantly better performance.
+Round Display currently adapts two different library-based displays, one **TFT_eSPI** and the other **Arduino GFX**. For the XIAO SAMD21 and XIAO nRF52840, there are not enough memory to run the TFT library, and the Arduino GFX will have significantly better performance. You can search it in Arduino IDE and download it.
-:::note
+:::tip
If you need to use the **TFT_eSPI** library, then proceed to **step 5**. If you are using the Arduino GFX, then you can skip this step.
For the content of Round Display, our tutorial will focus on the use of **TFT_eSPI**.
:::
-Please find the **TFT_eSPI** folder in the root directory of the Arduino library, and then modify the `User_Setup_Select.h` file in the **TFT_eSPI** directory.
+### Compatibility Test for Round Display and XIAO
-`C:\Users\${UserName}\Documents\Arduino\libraries\TFT_eSPI\User_Setup_Select.h`
+We made a Compatibility Test for Round Display and XIAO. You can take a look before you use.
-
-
-If you want to use the **TFT_eSPI** library for display driving, you must **comment** out the line `#include ` and **uncomment** the line `#include ` in the `User_Setup_Select.h` file.
-
-
+| | TFT library | Arduino GFX |
+|---------|-----|-----|
+| XIAO SAMD21 | ❌ | ❌ |
+| XIAO RP2040 | ❌ | ❌ |
+| XIAO RA4M1 | ❌ | ❌ |
+| XIAO nRF52840 non mbed version| ✅ | ❌ |
+| XIAO nRF52840 mbed version| ❌ | ✅ |
+| XIAO ESP32C3 | ✅ | ✅ |
+| XIAO ESP32C6 | ✅ | ❌ |
+| XIAO ESP32S3 | ✅ | ✅ |
### Arduino Library Overview