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:
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
@@ -680,7 +680,7 @@ function use_jpg() {
|
||||
}else{
|
||||
if(pics[i].src.indexOf("assets") != -1) {
|
||||
var path = pics[i].src.substr(pics[i].src.indexOf("assets"),);
|
||||
pics[i].src = "https://static-cdn.m5stack.com/assets/product_jpg/"+path.replace(".webp",".jpg");
|
||||
pics[i].src = "https://static-cdn.m5stack.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://static-cdn.m5stack.com/image/product_jpg/"+path.replace(".webp",".jpg");
|
||||
|
||||
Vendored
+1
-1
@@ -53,7 +53,7 @@ window.search_cover.contant_result=[{name:'',url:'',contant:search_cover.search_
|
||||
function language(language){window.header.loading("loading...");var test=window.location.href;if((test.indexOf(/en/)==-1)&&(test.indexOf(/zh_CN/)==-1)&&(test.indexOf(/ja/)==-1)){var test2=test.concat("",language+"/");window.location.href=test2;change_title(language);}
|
||||
if(test.indexOf(/en/)!=-1){var test2=test.replace(/en/,language);window.location.href=test2;change_title(language);}else if(test.indexOf(/zh_CN/)!=-1){var test2=test.replace(/zh_CN/,language);window.location.href=test2;change_title(language);}else if(test.indexOf(/ja/)!=-1){var test2=test.replace(/ja/,language);window.location.href=test2;change_title(language);}
|
||||
localStorage.clear();set_search_keyword();window.header.done();}
|
||||
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://static-cdn.m5stack.com/assets/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://static-cdn.m5stack.com/image/product_jpg/"+path.replace(".webp",".jpg");}}}}}}
|
||||
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://static-cdn.m5stack.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://static-cdn.m5stack.com/image/product_jpg/"+path.replace(".webp",".jpg");}}}}}}
|
||||
function page_loading(){var page_url=window.location.href;if((page_url.indexOf(/en/)==-1)&&(page_url.indexOf(/zh_CN/)==-1)&&(page_url.indexOf(/ja/)==-1)){change_title('en');}
|
||||
if(page_url.indexOf(/en/)!=-1){change_title('en');}
|
||||
if(page_url.indexOf(/zh_CN/)!=-1){change_title('zh_CN');}
|
||||
|
||||
@@ -130,6 +130,10 @@
|
||||
<tr><td>IR</td><td>G12</td></tr>
|
||||
</table>
|
||||
|
||||
## Schematic
|
||||
|
||||
<img src="assets\img\product_pics\core\minicore\atom\ATOM_LITE_SIMPLE_CIRCUT_20200514.webp">
|
||||
|
||||
## Related Link
|
||||
|
||||
- **Datasheet**
|
||||
|
||||
@@ -139,6 +139,11 @@
|
||||
<tr><td>SDA</td><td>G25</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
## Schematic
|
||||
|
||||
<img src="assets\img\product_pics\core\minicore\atom\ATOM_MATRIX_SIMPLE_CIRCUT_20200514.webp">
|
||||
|
||||
## Related Link
|
||||
|
||||
- **Datasheet**
|
||||
|
||||
@@ -302,6 +302,7 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(".faq-item .faq-title").toggleClass('open');
|
||||
$(document).ready(function() {
|
||||
$(".faq-item .faq-title").on('click', function() {
|
||||
$(this).toggleClass('open');
|
||||
|
||||
@@ -132,6 +132,11 @@
|
||||
<tr><td>IR</td><td>G12</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
## 原理图
|
||||
|
||||
<img src="assets\img\product_pics\core\minicore\atom\ATOM_LITE_SIMPLE_CIRCUT_20200514.webp">
|
||||
|
||||
## 相关链接
|
||||
|
||||
- **Datasheet**
|
||||
|
||||
@@ -141,6 +141,10 @@
|
||||
<tr><td>SDA</td><td>G25</td></tr>
|
||||
</table>
|
||||
|
||||
## 原理图
|
||||
|
||||
<img src="assets\img\product_pics\core\minicore\atom\ATOM_MATRIX_SIMPLE_CIRCUT_20200514.webp">
|
||||
|
||||
## 相关链接
|
||||
|
||||
- **Datasheet**
|
||||
|
||||
@@ -808,6 +808,7 @@ UIFlow是M5Stack推出的一款可视化编程平台,内部集成了与M5Stack
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(".faq-item .faq-title").toggleClass('open');
|
||||
$(document).ready(function() {
|
||||
$(".faq-item .faq-title").on('click', function() {
|
||||
$(this).toggleClass('open');
|
||||
|
||||
Reference in New Issue
Block a user