mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
hook test
This commit is contained in:
@@ -60,6 +60,33 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## EasyLoader
|
||||
|
||||
>EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification. Please install the corresponding driver according to the device type. M5Core host [Please click here to view the CP210X driver installation tutorial](en/arduino/arduino_development), M5StickC/V/T/ATOM series can be used without driver)
|
||||
|
||||
<div class="easyloader-box">
|
||||
<div style="background-color:white;">
|
||||
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
|
||||
<div class="easyloader-btn">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/BASE/EasyLoader_M5GO_BOTTOM2.exe">Windows</a>
|
||||
<!-- <a>Linux</a>
|
||||
<a>MacOS</a> -->
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<video id="example_video" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/App/PM2.5.mp4" type="video/mp4">
|
||||
</video>
|
||||
<div class="easyloader-mask">
|
||||
<a>
|
||||
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
|
||||
<p>Description:</p>
|
||||
<p>IMU data acquisition, microphone data acquisition Display spectrum, control LED blinking.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
## Pin Mapping
|
||||
|
||||
**SK6812-LED Bar**
|
||||
@@ -121,7 +148,9 @@ Use with Arduino, please click [here](https://github.com/m5stack/M5-ProductExamp
|
||||
|
||||
<script>
|
||||
|
||||
anchor_search();
|
||||
var purchase_link = 'https://m5stack.com/products/m5go-battery-bottom2-for-core2-only';
|
||||
|
||||
anchor_search(purchase_link);
|
||||
scrollFunc();
|
||||
|
||||
</script>
|
||||
@@ -187,3 +187,36 @@ void loop() {
|
||||
}
|
||||
```
|
||||
|
||||
## shutdown()
|
||||
|
||||
### 函数重载1:
|
||||
|
||||
关闭电源,再次启动需要通过PWR按键唤醒
|
||||
|
||||
`void shutdown();`
|
||||
|
||||
### 函数重载2:
|
||||
|
||||
关闭电源,根据传入的延时秒数,在延时结束后通过RTC唤醒设备。
|
||||
|
||||
`int shutdown( int seconds );`
|
||||
|
||||
### 函数重载3:
|
||||
|
||||
关闭电源,传入指定了某个时间点的RTC时间结构体,当符合该时间的`时`,`分`,`秒`的时候通过RTC唤醒设备。
|
||||
|
||||
`int shutdown( const RTC_TimeTypeDef &RTC_TimeStruct);`
|
||||
|
||||
### 函数重载4:
|
||||
|
||||
关闭电源,传入指定了某个时间点的RTC时间结构体,当同时符合该时间点的`周数`,`天数`,`时间`的时通过RTC唤醒设备。
|
||||
|
||||
`int shutdown( const RTC_DateTypeDef &RTC_DateStruct, const RTC_TimeTypeDef &RTC_TimeStruct);`
|
||||
|
||||
<!-- **使用示例:**
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
``` -->
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
## 描述
|
||||
|
||||
**M5GO BOTTOM2** 是一款专为M5Core2设计的拓展型底座,底座集成了MPU6886六轴姿态传感器,数字麦克风(SPM1423),500mAh锂电池。提供两了组HY2.0-4P拓展接口将常用的ADC/DAC/UART引脚进行了引出,能够用于各类型传感器的接入。底座两侧分别为10颗可编程RGB灯(SK6812),配合磨砂透光材质遮光条,能够提供柔和舒适发光效果。底部采用pogo pin磁吸充电接口,当吸附充电底座时,电流将经过内置的TP4057充电芯片安全的流入内部电池。除充电功能外pogo pin接口对主控I2C总线进行了引出,这使得你能够通过磁吸的方式去外接拓展。内置吸附磁铁,背面采用兼容LEGO孔设计,能够与你的其他的LEGO结构设计无缝对接。
|
||||
**M5GO BOTTOM2** 是一款专为M5Core2设计的拓展型底座,底座集成了MPU6886六轴姿态传感器,数字麦克风(SPM1423),500mAh锂电池。两组HY2.0-4P拓展接口将常用的ADC/DAC/UART引脚进行了引出,能够用于各类型传感器的接入。底座两侧分别为10颗可编程RGB灯(SK6812),配合磨砂透光材质遮光条,能够提供柔和舒适发光效果。底部采用pogo pin磁吸充电接口,当吸附充电底座时,电流将经过内置的TP4057充电芯片安全的流入内部电池。除充电功能外pogo pin接口对主控I2C总线进行了引出,这使得你能够通过磁吸的方式去外接拓展。内置吸附磁铁,背面采用兼容LEGO孔设计,能够与你的其他的LEGO结构设计无缝对接。
|
||||
|
||||
## 产品特性
|
||||
|
||||
@@ -64,6 +64,32 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## EasyLoader
|
||||
|
||||
>EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.**(程序烧录前,请根据设备类型安装相应驱动程序. M5Core型主机[请点击此处查看CP210X驱动安装教程](zh_CN/arduino/arduino_development?id=安装串口驱动),M5StickC/V/T/ATOM系列可免驱动使用)**
|
||||
|
||||
<div class="easyloader-box">
|
||||
<div style="background-color:white;">
|
||||
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
|
||||
<div class="easyloader-btn">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/BASE/EasyLoader_M5GO_BOTTOM2.exe">Windows</a>
|
||||
<!-- <a>Linux</a>
|
||||
<a>MacOS</a> -->
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<video id="example_video" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/App/PM2.5.mp4" type="video/mp4">
|
||||
</video>
|
||||
<div class="easyloader-mask">
|
||||
<a>
|
||||
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff"></path></svg></a>
|
||||
<p>案例描述:</p>
|
||||
<p>IMU数据获取,麦克风数据获取显示频谱,控制LED灯闪烁.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
## 管脚映射
|
||||
|
||||
**SK6812-LED Bar**
|
||||
@@ -124,7 +150,9 @@
|
||||
|
||||
<script>
|
||||
|
||||
anchor_search();
|
||||
var purchase_link = 'https://m5stack.com/products/m5go-battery-bottom2-for-core2-only';
|
||||
|
||||
anchor_search(purchase_link);
|
||||
scrollFunc();
|
||||
|
||||
</script>
|
||||
@@ -78,7 +78,7 @@ SHT20温湿度传感器
|
||||
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
|
||||
<div class="easyloader-btn">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/APPLICATION/EasyLoader_PM2.5_APPLICATION.exe">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/APPLICATION/EasyLoader_PM2.5_APPLICATION.dmg">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/APPLICATION/EasyLoader_PM2.5_APPLICATION.dmg">MacOS</a>
|
||||
<!-- <a>Linux</a>
|
||||
<a>MacOS</a> -->
|
||||
</div>
|
||||
|
||||
@@ -174,7 +174,7 @@ M5Stack Core2支持的开发平台和程序语言:Arduino,[UIFlow](http://fl
|
||||
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
|
||||
<div class="easyloader-btn">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/CORE/EasyLoader_M5Core2_FactoryTest.exe">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/CORE/EasyLoader_M5Core2_FactoryTest.dmg">MacOS</a>
|
||||
<!-- <a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/CORE/EasyLoader_M5Core2_FactoryTest.dmg">MacOS</a> -->
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@@ -182,7 +182,7 @@
|
||||
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
|
||||
<div class="easyloader-btn">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/CORE/EasyLoader_M5Core2_FactoryTest.exe">Windows</a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/CORE/EasyLoader_M5Core2_FactoryTest.dmg">MacOS</a>
|
||||
<!-- <a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/CORE/EasyLoader_M5Core2_FactoryTest.dmg">MacOS</a> -->
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user