diff --git a/docs/zh_CN/unit/gps.md b/docs/zh_CN/unit/gps.md index 97438974..016396f2 100644 --- a/docs/zh_CN/unit/gps.md +++ b/docs/zh_CN/unit/gps.md @@ -1,4 +1,4 @@ -# GPS {docsify-ignore-all} +# GPS
SKU:U032
diff --git a/docs/zh_CN/unit/hex.md b/docs/zh_CN/unit/hex.md index 4c6483f0..1ccbbdd9 100644 --- a/docs/zh_CN/unit/hex.md +++ b/docs/zh_CN/unit/hex.md @@ -1,4 +1,4 @@ -# HEX {docsify-ignore-all} +# HEX
SKU:A045
@@ -22,12 +22,6 @@ - 1x HEX Unit - 1x Grove 线 -## 相关链接 - -- **[官方频道视频](https://i.youku.com/i/UNjE1ODA2MzE0OA==?spm=a2hzp.8253869.0.0)** - -- **[官方论坛](http://forum.m5stack.com/)** - ## EasyLoader >EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)** diff --git a/docs/zh_CN/unit/hub.md b/docs/zh_CN/unit/hub.md index cbd7ae45..a936da70 100644 --- a/docs/zh_CN/unit/hub.md +++ b/docs/zh_CN/unit/hub.md @@ -2,9 +2,7 @@
SKU:U006
- - - +
## 描述 @@ -23,17 +21,6 @@ - 1x HUB Unit - 1x Grove 线 -## 尺寸重量 - -- 包装尺寸:67mm x 53mm x 12mm -- 包装重量:17g - -## 相关链接 - -- **[官方频道视频](https://i.youku.com/i/UNjE1ODA2MzE0OA==?spm=a2hzp.8253869.0.0)** - -- **[官方论坛](http://forum.m5stack.com/)** - ## 原理图 diff --git a/docs/zh_CN/unit/ir.md b/docs/zh_CN/unit/ir.md index 9554604b..2a2f4da2 100644 --- a/docs/zh_CN/unit/ir.md +++ b/docs/zh_CN/unit/ir.md @@ -2,8 +2,7 @@
SKU:U002
- - +
## 描述 @@ -24,18 +23,6 @@ - 1x IR Unit - 1x Grove 线 -## 尺寸重量 - -- 包装尺寸:67mm x 53mm x 12mm -- 包装重量:17g - -## 相关链接 - -- **[官方频道视频](https://i.youku.com/i/UNjE1ODA2MzE0OA==?spm=a2hzp.8253869.0.0)** - -- **[官方论坛](http://forum.m5stack.com/)** - - ## EasyLoader @@ -52,27 +39,11 @@ ### 1. Arduino IDE -*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/IR/Arduino).* - -```arduino -#include - -// declaration -int cur_recv_value = 0; - -// initialization -M5.begin(); -pinMode(ir_recv_pin, INPUT);// receiver pin -pinMode(ir_send_pin, OUTPUT);// transmitter pin -digitalWrite(ir_send_pin, 1);// send infrared light - -// read data -cur_recv_value = digitalRead(ir_recv_pin);// read the status of receiver -``` +[请点击此处下载Arduino示例程序](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/IR/Arduino) ### 2. UIFlow -*以下代码仅为片段,如需获取完整代码, [请点击此处](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/IR/UIFlow).* +[请点击此处下载UIFlow](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/IR/UIFlow) @@ -87,12 +58,9 @@ cur_recv_value = digitalRead(ir_recv_pin);// read the status of receiver IR UnitReceiver PinTransmitter Pin5VGND -