Browse Source

【修改】添加gif展示

zylx 7 years ago
parent
commit
ce052f3945
2 changed files with 5 additions and 33 deletions
  1. 5 33
      README.md
  2. BIN
      figures/qrcode.gif

+ 5 - 33
README.md

@@ -31,6 +31,8 @@ RT-Thread online packages
             [*] Enable qrcode sample
 ```
 
+- `Enable qrcode sample`: 开启二维码例程;
+
 然后让 RT-Thread 的包管理器自动更新,或者使用 `pkgs --update` 命令更新包到 BSP 中。
 
 ## 3、使用 qrcode
@@ -74,41 +76,11 @@ for (uint8 y = 0; y < qrcode.size; y++) {
 
 ## 4、示例演示
 
+本示例需要在 qrcode 软件包中开启二维码例程。
+
 在 MSH 中输入命令 qrcode RT-Thread,可以在串口助手上打印出一个二维码来,利用手机扫码软件扫描后可以看到结果为 RT-Thread。
 
-```shell
-msh />qrcode RT-Thread
-**************  ****          ****  **  **  **************
-**          **              ****  **  ****  **          **
-**  ******  **  **    **********    **  **  **  ******  **
-**  ******  **  ****  **        **  ******  **  ******  **
-**  ******  **  ********  **        **  **  **  ******  **
-**          **    **    **  **    ********  **          **
-**************  **  **  **  **  **  **  **  **************
-                  **  **  ****          **
-********    **  **        ****  **  ****  **    ******  **
-  **  ****      ****          ****  **  ****  **  **
-    **      **              ****  **  ****    ****  ****
-**  ****      **      **********    **  **********    ****
-****  **    **    **  **        **  ********  ****  **  **
-****  ****      **  ****  **        **  ****  **        **
-**  **  ******    ****  **  **    **********  **  **    **
-  ******  **  **  ****  ****  **  ****    ****  ****  **
-    **  **  **      ****          ****  ********  **  **
-      **        **      ****          ****  ********  ****
-**  **  **  **************          ****  **        **
-    ********  **    **  **    **********  **    ******  **
-  ****  **  ******    ******  **        **************  **
-                ****    ********  **  ****      ****
-**************    **  ******    **  **  **  **  ********
-**          **    ****          ****  ****      **    ****
-**  ******  **          **  ****        **********  ******
-**  ******  **  **********  **  ****  ****    **    **
-**  ******  **  **    **  **  ****    **  ****          **
-**          **  **    **    **  **          **  ****  **
-**************  **      **  ********  **    **        **
-msh />
-```
+![qrcode](figures/qrcode.gif)
 
 ## 5、注意事项
 

BIN
figures/qrcode.gif