mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
Merge branch 'master' of https://github.com/m5stack/m5-docs
This commit is contained in:
Vendored
+2
-2
File diff suppressed because one or more lines are too long
@@ -347,7 +347,6 @@ div.card-img-overlay:hover {
|
||||
top: 20px;
|
||||
left: 20%;
|
||||
height: 56px;
|
||||
line-height: 0;
|
||||
padding: 0 20px
|
||||
}
|
||||
|
||||
@@ -875,6 +874,7 @@ mark {
|
||||
.easyloader-box p:last-child {
|
||||
overflow-y: scroll;
|
||||
height: 20%;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.easyloader-mask {
|
||||
@@ -909,6 +909,7 @@ mark {
|
||||
justify-content: space-around;
|
||||
bottom: 7%;
|
||||
width: 100%;
|
||||
padding: 0px 20px;
|
||||
}
|
||||
|
||||
.easyloader-btn a {
|
||||
|
||||
@@ -20,15 +20,6 @@ what this software can do?
|
||||
|
||||
<img src="assets/img/product_pics/unit/unit_m5camera_f_02.webp" width="50%"><img src="assets/img/product_pics/unit/unit_m5camera_f_03.webp" width="50%">
|
||||
|
||||
**Note: M5CameraF is named differently when different hardware is selected. They follow the rules below.**
|
||||
|
||||
*M5CameraF_#_#... means optional hardware name follows "M5CameraF".*
|
||||
|
||||
* If configured with MPU6050, will be named M5CameraF_6050
|
||||
* If also configured with microphone, will be named M5CameraF_6050_MIC
|
||||
* If also configured with BME280, will be named M5CameraF_6050_MIC_BME280
|
||||
* If also configured with battery, will be named M5CameraF_6050_MIC_BME280_BAT
|
||||
|
||||
## Feature
|
||||
|
||||
- ESP32 specifications
|
||||
|
||||
+34
-1
@@ -260,7 +260,33 @@
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function use_jpg() {
|
||||
pics = $("img");
|
||||
var page_url = window.location.href;
|
||||
for (var i= 0; i<pics.length; i++){
|
||||
if((page_url.slice(-4) == "/en/")||(page_url.slice(-7)== "/zh_CN/")||(page_url.slice(-3)== "/#/")){
|
||||
if (pics[i].src.indexOf(".webp") != -1) {
|
||||
var path = pics[i].src.substr(0,pics[i].src.indexOf(".webp"));
|
||||
pics[i].src = path+".jpg"
|
||||
}
|
||||
}else{
|
||||
if (pics[i].src.indexOf(".webp") != -1) {
|
||||
if (pics[i].src.indexOf("m5stack.oss") != -1) {
|
||||
var path = pics[i].src.substr(0,pics[i].src.indexOf(".webp"));
|
||||
pics[i].src = path+".jpg"
|
||||
}else{
|
||||
if(pics[i].src.indexOf("assets/") != -1) {
|
||||
var path = pics[i].src.substr(pics[i].src.indexOf("assets/"),);
|
||||
pics[i].src = "https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/product_jpg/"+path.replace(".webp",".jpg");
|
||||
}else if(pics[i].src.indexOf("image/") != -1){
|
||||
var path = pics[i].src.substr(pics[i].src.indexOf("image/"),);
|
||||
pics[i].src = "https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/product_jpg/"+path.replace(".webp",".jpg");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
function page_loading() {
|
||||
var test = window.location.href;
|
||||
if ((test.indexOf(/en/) == -1) && (test.indexOf(/zh_CN/) == -1)&& (test.indexOf(/ja/) == -1)) {
|
||||
@@ -277,6 +303,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
function isSupportWebp() {
|
||||
if (document.createElement('canvas').toDataURL('image/webp', 0.5).indexOf('data:image/webp') === 0){
|
||||
return true;
|
||||
}
|
||||
use_jpg();
|
||||
}
|
||||
function page_move(divId) {
|
||||
var t = $("#" + divId).offset().top;
|
||||
$('html, body').animate({
|
||||
@@ -381,6 +413,7 @@
|
||||
}
|
||||
}
|
||||
function anchor_search(purchase_link="none",quickstart_link="none"){
|
||||
isSupportWebp();
|
||||
var page_url = window.location.href;
|
||||
if((page_url.slice(-4) == "/en/")||(page_url.slice(-7)== "/zh_CN/")||(page_url.slice(-3)== "/#/")){
|
||||
$("#search_note").eq(0).after("<div class='anchor-box'></div>");
|
||||
|
||||
+1
-1
@@ -186,7 +186,7 @@
|
||||
{a:"/#en/accessory/cable/lego_cable", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/accessory/lego_cable.webp", p:"LEGO Cable", sku:"A030"},
|
||||
{a:"/#/en/accessory/screw", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/accessory/screw_p1.webp", p:"SCREW", sku:"A050"},
|
||||
{a:"/#/en/accessory/bus_socket", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/accessory/acs_bus_socket_01.webp", p:"BUS-Socket", sku:"A001"},
|
||||
{a:"/#/en/accessory/frame", img:"assets/img/product_pics/accessory/frame_01.webp", p:"Frame", sku:"A013"},
|
||||
{a:"/#/en/accessory/frame", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/accessory/frame_01.webp", p:"Frame", sku:"A013"},
|
||||
{a:"/#/en/unit/trace", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_trace_01.webp", p:"TRACE", sku:"A048"},
|
||||
{a:"/#/en/module/proto_kit", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/module_proto_02.webp", p:"PROTO-KIT", sku:"K008"},
|
||||
{a:"/#/en/tool/usb_downloader", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/tool/usb_downloader_01.webp", p:"USB Downloader", sku:"A012"},
|
||||
|
||||
+39
-6
@@ -59,12 +59,12 @@
|
||||
</nav>
|
||||
</div>
|
||||
<div class="related_links">
|
||||
<a href="https://twitter.com/M5Stack" target="view_window"><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/twitter.jpg"></a>
|
||||
<a href="https://www.facebook.com/M5Stack" target="view_window"><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/facebook.jpg"></a>
|
||||
<a href="https://www.youtube.com/m5stack" target="view_window"><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/youtube.jpg"></a>
|
||||
<a href="https://github.com/m5stack" target="view_window"><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/github.jpg"></a>
|
||||
<a href="https://twitter.com/M5Stack" target="view_window"><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/twitter.webp"></a>
|
||||
<a href="https://www.facebook.com/M5Stack" target="view_window"><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/facebook.webp"></a>
|
||||
<a href="https://www.youtube.com/m5stack" target="view_window"><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/youtube.webp"></a>
|
||||
<a href="https://github.com/m5stack" target="view_window"><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/github.webp"></a>
|
||||
<a onclick="creat_pdf()" style="background-color: #0062cc;"><svg t="1583466910393" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2343" width="50" height="50"><path d="M410.2 430.6h-4.8v91.6h4.8c24 0 41-11 41-46.4s-17-45.2-41-45.2zM282.6 430.4H268v43h15.6c17.4 0 25.8-8.2 25.8-22.8 0-15-9.6-20.2-26.8-20.2z" fill="#ffffff" p-id="2344"></path><path d="M791.94 155.36H332.48c-42.23 0-76.54 34.31-76.54 76.54v76.55h-51.03c-28.16 0-51.04 22.87-51.04 51.03v261.37c0 28.15 22.88 51.02 51.04 51.02h51.03v121.54c0 42.24 34.32 76.55 76.54 76.55h459.46c42.23 0 76.54-34.32 76.54-76.54V231.9c0.1-42.24-34.31-76.54-76.54-76.54zM268 501.6V551h-35.8V402.2h52.2c32.8 0 59.8 11.6 59.8 48.4 0 35.4-27.4 51-58.8 51H268z m549.45 291.9c-0.02 14.09-11.43 25.5-25.52 25.51H332.48c-14.09-0.01-25.5-11.43-25.51-25.51V671.96h306.21c28.15 0 51.03-22.88 51.03-51.03v-6.03h76.69c14.09-0.01 25.51-11.43 25.52-25.52-0.02-14.09-11.43-25.5-25.52-25.51h-76.69v-51.03h76.69c14.09-0.01 25.51-11.43 25.52-25.52-0.01-14.09-11.43-25.5-25.52-25.52h-76.69v-51.03h76.69c14.09-0.01 25.51-11.43 25.52-25.51-0.01-14.09-11.43-25.51-25.52-25.52h-76.69c0-28.16-22.89-51.03-51.03-51.03H306.97v-76.54c0.01-14.09 11.43-25.5 25.51-25.52h459.46c14.08 0.01 25.5 11.43 25.51 25.52V793.5zM369.6 551V402.2h42.8c45.4 0 75.4 21.8 75.4 73.6s-30 75.2-73.4 75.2h-44.8zM602 464.4v29.8h-50.8V551h-35.8V402.2h95v29.6h-59.2v32.6H602z" fill="#ffffff" p-id="2345"></path></svg></a>
|
||||
<div target="view_window" onclick="(function(){$('html, body').animate({scrollTop: 0}, 500);})()"><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/to-top.jpg"></div>
|
||||
<div target="view_window" onclick="(function(){$('html, body').animate({scrollTop: 0}, 500);})()"><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/to-top.webp"></div>
|
||||
</div>
|
||||
<div id="app">loading...</div>
|
||||
<script>
|
||||
@@ -260,7 +260,33 @@
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function use_jpg() {
|
||||
pics = $("img");
|
||||
var page_url = window.location.href;
|
||||
for (var i= 0; i<pics.length; i++){
|
||||
if((page_url.slice(-4) == "/en/")||(page_url.slice(-7)== "/zh_CN/")||(page_url.slice(-3)== "/#/")){
|
||||
if (pics[i].src.indexOf(".webp") != -1) {
|
||||
var path = pics[i].src.substr(0,pics[i].src.indexOf(".webp"));
|
||||
pics[i].src = path+".jpg"
|
||||
}
|
||||
}else{
|
||||
if (pics[i].src.indexOf(".webp") != -1) {
|
||||
if (pics[i].src.indexOf("m5stack.oss") != -1) {
|
||||
var path = pics[i].src.substr(0,pics[i].src.indexOf(".webp"));
|
||||
pics[i].src = path+".jpg"
|
||||
}else{
|
||||
if(pics[i].src.indexOf("assets/") != -1) {
|
||||
var path = pics[i].src.substr(pics[i].src.indexOf("assets/"),);
|
||||
pics[i].src = "https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/product_jpg/"+path.replace(".webp",".jpg");
|
||||
}else if(pics[i].src.indexOf("image/") != -1){
|
||||
var path = pics[i].src.substr(pics[i].src.indexOf("image/"),);
|
||||
pics[i].src = "https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/product_jpg/"+path.replace(".webp",".jpg");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
function page_loading() {
|
||||
var test = window.location.href;
|
||||
if ((test.indexOf(/en/) == -1) && (test.indexOf(/zh_CN/) == -1)&& (test.indexOf(/ja/) == -1)) {
|
||||
@@ -277,6 +303,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
function isSupportWebp() {
|
||||
if (document.createElement('canvas').toDataURL('image/webp', 0.5).indexOf('data:image/webp') === 0){
|
||||
return true;
|
||||
}
|
||||
use_jpg();
|
||||
}
|
||||
function page_move(divId) {
|
||||
var t = $("#" + divId).offset().top;
|
||||
$('html, body').animate({
|
||||
@@ -381,6 +413,7 @@
|
||||
}
|
||||
}
|
||||
function anchor_search(purchase_link="none",quickstart_link="none"){
|
||||
isSupportWebp();
|
||||
var page_url = window.location.href;
|
||||
if((page_url.slice(-4) == "/en/")||(page_url.slice(-7)== "/zh_CN/")||(page_url.slice(-3)== "/#/")){
|
||||
$("#search_note").eq(0).after("<div class='anchor-box'></div>");
|
||||
|
||||
@@ -183,7 +183,7 @@
|
||||
{a:"/#zh_CN/accessory/cable/lego_cable", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/accessory/lego_cable.webp", p:"LEGO Cable", sku:"A030"},
|
||||
{a:"/#/zh_CN/accessory/screw", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/accessory/screw_p1.webp", p:"SCREW", sku:"A050"},
|
||||
{a:"/#/zh_CN/accessory/bus_socket", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/accessory/acs_bus_socket_01.webp", p:"BUS-Socket", sku:"A001"},
|
||||
{a:"/#/zh_CN/accessory/frame", img:"assets/img/product_pics/accessory/frame_01.webp", p:"Frame", sku:"A013"},
|
||||
{a:"/#/zh_CN/accessory/frame", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/accessory/frame_01.webp", p:"Frame", sku:"A013"},
|
||||
{a:"/#/zh_CN/unit/trace", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_trace_01.webp", p:"TRACE", sku:"A048"},
|
||||
{a:"/#/zh_CN/module/proto_kit", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/module/module_proto_02.webp", p:"PROTO-KIT", sku:"K008"},
|
||||
{a:"/#/zh_CN/tool/usb_downloader", img:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/tool/usb_downloader_01.webp", p:"USB Downloader", sku:"A012"},
|
||||
|
||||
Reference in New Issue
Block a user