From 1f45cace45310f97ac9623ef9ebc918955f54009 Mon Sep 17 00:00:00 2001
From: Sean <1026025056@qq.com>
Date: Fri, 22 Nov 2019 16:39:55 +0800
Subject: [PATCH] add a faq
---
docs/assets/css/main.css | 2 +-
docs/en/core/fire.md | 2 +-
docs/en/faq.md | 14 ++++++++++++++
docs/index.html | 37 ++++---------------------------------
docs/zh_CN/core/fire.md | 2 +-
docs/zh_CN/core/m5stickv.md | 2 +-
docs/zh_CN/faq.md | 14 ++++++++++++++
7 files changed, 36 insertions(+), 37 deletions(-)
diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css
index c7036622..828bd80b 100644
--- a/docs/assets/css/main.css
+++ b/docs/assets/css/main.css
@@ -835,7 +835,7 @@ mark {
.faq-title::before {
- background-color: #00b8ee;
+ background-color: #007bff;
content: "";
width: 20px;
height: 20px;
diff --git a/docs/en/core/fire.md b/docs/en/core/fire.md
index bc78cdeb..87d61f32 100644
--- a/docs/en/core/fire.md
+++ b/docs/en/core/fire.md
@@ -257,7 +257,7 @@ For more information about Pin assignment and Pin Remapping, Please refer to EPS
## Include
-- 1x Fire
+- 1x FIRE
- 1x M5GO CHG Base
- 2x LEGO block
- 5x LEGO connector
diff --git a/docs/en/faq.md b/docs/en/faq.md
index 28fd9e0c..e1f06a85 100644
--- a/docs/en/faq.md
+++ b/docs/en/faq.md
@@ -278,6 +278,20 @@
+
+
+
Q13:After the MacOS version is upgraded to a higher version, the M5StickC cannot be programmed normally.
+
+
+
+ After upgrading MacOS v10.15 on some Mac computers, M5StickC cannot program properly.
+
+ Solution: When programming, short the G0 to GND using the DuPont line.
+
+
+
+
+
diff --git a/docs/index.html b/docs/index.html
index d125b72f..0e6499e0 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -140,33 +140,21 @@
// $('.dropdown-menu div[data-bind="leave1"]').on('mouseleave', Leave);
// }, 600);
};
-
function product_search(onEnter_content){
+ $("#search_note").css("display","block");
var p = $(".item p");
- temp_product_name = [];
- all_product_name = [];
for (var i=0; i item.startsWith(onEnter_content));
- all_product_name.push(p[i].textContent.toLowerCase());
- var match2 = all_product_name.filter(item => item.startsWith(onEnter_content));
- if( match1.length > 0){
+ if(p[i].textContent.toLocaleLowerCase().indexOf(onEnter_content) != -1){
$(".item").eq(i).css("display","inline-block");
$(".item").eq(i).parent().children("p").css("display","block");
$(".item").eq(i).parent().next("hr").css("display","block");
+ $("#search_note").css("display","none");
}
else{
$(".item").eq(i).css("display","none");
$(".item").parent().children("p").css("display","none");
$(".item").eq(i).parent().next("hr").css("display","none");
}
- if((match2.length == 0)){
- $("#search_note").css("display","block");
- }
- else{
- $("#search_note").css("display","none");
- }
- temp_product_name.shift();
}
}
@@ -185,21 +173,7 @@
}
}
}
- function case_search(onEnter_content){
- // $(".search-tips").css("display","block");
- // $(".faq-class").css("display","none");
- // var faq_title = $(".faq-item h5");
- // for (var i=0; i
+
+
+
Q13: MacOS版本升级高版本后,M5StickC无法正常烧录程序。
+
+
+
+ 部分Mac电脑在升级MacOS v10.15版本后,M5StickC无法正常烧录程序。
+
+ 解决方案:烧录时,使用杜邦线短接G0至GND。
+
+
+
+
+