From ee18af0671d9a5235b6bd296d79dd04d7c1c20ff Mon Sep 17 00:00:00 2001 From: tang-dawei Date: Tue, 28 Sep 2021 09:42:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=82=B9=EF=BC=9A=20(1)forma?= =?UTF-8?q?t=20string=E4=BF=AE=E8=AE=A2=E5=8E=86=E5=8F=B2=E7=9A=84?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=EF=BC=882=EF=BC=89=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E7=9A=84=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/sbs/zh/sidebar.yaml | 5 ++++- .../zh/thread}/Format_String.md | 10 ++++------ .../zh/thread}/media/UartAssist.png | Bin .../zh/thread}/media/dirver_setup.png | Bin .../zh/thread}/media/file_download.png | Bin .../zh/thread}/media/str_hex_result.png | Bin .../zh/thread}/media/uart_read.png | Bin 7 files changed, 8 insertions(+), 7 deletions(-) rename docs/{FAQ/zh/Format_String => sbs/zh/thread}/Format_String.md (89%) rename docs/{FAQ/zh/Format_String => sbs/zh/thread}/media/UartAssist.png (100%) rename docs/{FAQ/zh/Format_String => sbs/zh/thread}/media/dirver_setup.png (100%) rename docs/{FAQ/zh/Format_String => sbs/zh/thread}/media/file_download.png (100%) rename docs/{FAQ/zh/Format_String => sbs/zh/thread}/media/str_hex_result.png (100%) rename docs/{FAQ/zh/Format_String => sbs/zh/thread}/media/uart_read.png (100%) diff --git a/docs/sbs/zh/sidebar.yaml b/docs/sbs/zh/sidebar.yaml index bd77d5b..faccefe 100644 --- a/docs/sbs/zh/sidebar.yaml +++ b/docs/sbs/zh/sidebar.yaml @@ -39,7 +39,10 @@ items: - label: 多线程开发 file: Thread/thread.md - label: 消息队列开发 - file: Thread/queue.md + file: Thread/queue.md + - label: Format_String + file: Thread/Format_String.md + - label: 系统 items: - label: json解析 diff --git a/docs/FAQ/zh/Format_String/Format_String.md b/docs/sbs/zh/thread/Format_String.md similarity index 89% rename from docs/FAQ/zh/Format_String/Format_String.md rename to docs/sbs/zh/thread/Format_String.md index 656aa4e..77944cc 100644 --- a/docs/FAQ/zh/Format_String/Format_String.md +++ b/docs/sbs/zh/thread/Format_String.md @@ -1,8 +1,8 @@ ## 修订历史 -| 版本 | 日期 | 作者 | 变更表述 | -| ---- | --------- | ----- | ------------------------------------------------------------ | -| 1.0 | 2021-4-07 | David | 首次编写,包括位运算、字符串与十六进制转换、以及Struct的说明 | +| Version | Date | Author | Change expression | +| ------- | ---------- | ---------- | ----------------- | +| 1.0 | 2021-09-28 | David.Tang | Initial version | 对于字符串与十六进制之间的转换需求,特编写这篇文档,详细介绍相关知识。 @@ -73,8 +73,6 @@ 15 ``` -还有位运算,struct的用法,所以写个demo还是有必要的哦。这是一项通过将设备置于从高温到低温的快速改变环境中或反之变换来测试机器和焊接部分的可靠性 - ## 字符串与十六进制 ### 字符串与十六进制转换的封装 @@ -102,7 +100,7 @@ str_test = String.from_hex(hex_test) print(str_test) ``` -### 字符串与十六进制转换的应用(待完善) +### 字符串与十六进制转换的应用 当然转换后的HEX无法串口直接接收解析,仍需要一定的转换,下面基于EC600SCNLB模组做个简单的实验 diff --git a/docs/FAQ/zh/Format_String/media/UartAssist.png b/docs/sbs/zh/thread/media/UartAssist.png similarity index 100% rename from docs/FAQ/zh/Format_String/media/UartAssist.png rename to docs/sbs/zh/thread/media/UartAssist.png diff --git a/docs/FAQ/zh/Format_String/media/dirver_setup.png b/docs/sbs/zh/thread/media/dirver_setup.png similarity index 100% rename from docs/FAQ/zh/Format_String/media/dirver_setup.png rename to docs/sbs/zh/thread/media/dirver_setup.png diff --git a/docs/FAQ/zh/Format_String/media/file_download.png b/docs/sbs/zh/thread/media/file_download.png similarity index 100% rename from docs/FAQ/zh/Format_String/media/file_download.png rename to docs/sbs/zh/thread/media/file_download.png diff --git a/docs/FAQ/zh/Format_String/media/str_hex_result.png b/docs/sbs/zh/thread/media/str_hex_result.png similarity index 100% rename from docs/FAQ/zh/Format_String/media/str_hex_result.png rename to docs/sbs/zh/thread/media/str_hex_result.png diff --git a/docs/FAQ/zh/Format_String/media/uart_read.png b/docs/sbs/zh/thread/media/uart_read.png similarity index 100% rename from docs/FAQ/zh/Format_String/media/uart_read.png rename to docs/sbs/zh/thread/media/uart_read.png -- Gitee