diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css
index 4034c913..6b30071b 100644
--- a/docs/assets/css/main.css
+++ b/docs/assets/css/main.css
@@ -2,9 +2,14 @@
--theme-color: hsl(204, 90%, 45%);
}
+a {
+ text-decoration: none !important;
+}
+
+
.markdown-section {
max-width: 80%;
- margin-top: 50px;
+ margin-top: 25px;
}
.markdown-section a {
@@ -26,6 +31,17 @@ body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section {
padding: 0;
}
+
+body[data-page="zh_CN/arduino/arduino_home_page.md"] article.markdown-section {
+ max-width: 100%;
+ padding: 0;
+}
+
+body[data-page="en/arduino/arduino_home_page.md"] article.markdown-section {
+ max-width: 100%;
+ padding: 0;
+}
+
.pic{
width:30%;
}
@@ -70,42 +86,78 @@ body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section {
.related_links {
position: fixed;
- top:20%;
- right: 4%;
- z-index: 9999;
+ top:35%;
+ right: 0px;
+ z-index: 900;
+ width: 50px;
}
.related_links a {
display: block;
- background-color: #041e36;
- width: 80px;
- height: 80px;
+ /* background-color: #555555; */
+ width: 50px;
+ height: 50px;
text-decoration:none;
+ transition:all .25s ease;
+ float: right;
}
+
+.related_links a:first-child {
+ border-top-left-radius: 3px;
+ background-color: #76c5f0;
+}
+
+.related_links a:nth-child(2) {
+ background-color: #007cc2;
+}
+
+.related_links a:nth-child(3) {
+ background-color: #dc214c;
+}
+
+.related_links a:nth-child(4) {
+ border-bottom-left-radius: 3px;
+ background-color: #1f1a17;
+}
+
+
+
.related_links a:hover {
- background-color: #007bff;
+ width: 90px;
}
-.related_links img {
+.related_links a img {
position: relative;
- top:12px;
- left: 22px;
- width: 36px;
+ top:5px;
+ left: 5px;
+ width: 40px;
}
-.related_links div {
+.related_links a:nth-child(4) img{
+ top:3.5px;
+ left: 3.5px;
+ width: 43px;
+}
+
+.related_links div img {
position: relative;
- top:15px;
- width: 80px;
- color: white;
- text-align: center;
-
+ top:10px;
+ left: 0px;
+ width: 50px;
+ /* background-color:red ; */
+ transition: all .25s ease;
}
+.related_links div img:hover {
+ transform: scale(1.05);
+}
+
+
+
@media screen and (max-width: 768px) {
.related_links {
display: none;
@@ -164,6 +216,7 @@ body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section {
.dropdown{
display: inline-block;
transition:all .25s ease;
+ color: #343a40;
}
.dropdown div{
@@ -174,19 +227,20 @@ body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section {
/* border: 1px solid rgba(0,0,0,.15);
border-radius: .25rem; */
transition:all .25s ease;
- left: -60px;
+ left: -44px;
text-align: center;
- top: 50px;
+ top: 40px;
+ z-index: 1001;
+
}
.dropdown:hover {
box-shadow: 0px 2px 0 0 #007bff;
+ color: #007bff;
}
.dropdown:hover div{
-
- will-change: transform;
min-width: 10rem;
padding: .5rem 0;
margin: .125rem 0 0;
@@ -195,12 +249,17 @@ body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section {
list-style: none;
background-clip: padding-box;
height: max-content;
+ box-shadow: 0px 12px 11px 0px #888888;
}
+.dropdown div a:hover{
+ color:#007bff !important;
+}
-
-
+.dropdown div a:active{
+ background-color:#cccccc !important;
+}
diff --git a/docs/assets/img/product_pics/core/faces_kit/face_01.jpg b/docs/assets/img/product_pics/core/faces_kit/face_01.jpg
deleted file mode 100644
index f6300699..00000000
Binary files a/docs/assets/img/product_pics/core/faces_kit/face_01.jpg and /dev/null differ
diff --git a/docs/assets/img/product_pics/core/faces_kit/face_01.webp b/docs/assets/img/product_pics/core/faces_kit/face_01.webp
new file mode 100644
index 00000000..ad662422
Binary files /dev/null and b/docs/assets/img/product_pics/core/faces_kit/face_01.webp differ
diff --git a/docs/assets/img/product_pics/core/fire/m5_fire_01.png b/docs/assets/img/product_pics/core/fire/m5_fire_01.png
deleted file mode 100644
index a4e6ba8f..00000000
Binary files a/docs/assets/img/product_pics/core/fire/m5_fire_01.png and /dev/null differ
diff --git a/docs/assets/img/product_pics/core/fire/m5_fire_01.webp b/docs/assets/img/product_pics/core/fire/m5_fire_01.webp
new file mode 100644
index 00000000..038fa171
Binary files /dev/null and b/docs/assets/img/product_pics/core/fire/m5_fire_01.webp differ
diff --git a/docs/assets/img/product_pics/core/gray/gray_01.png b/docs/assets/img/product_pics/core/gray/gray_01.png
deleted file mode 100644
index b64f3cf3..00000000
Binary files a/docs/assets/img/product_pics/core/gray/gray_01.png and /dev/null differ
diff --git a/docs/assets/img/product_pics/core/gray/gray_01.webp b/docs/assets/img/product_pics/core/gray/gray_01.webp
new file mode 100644
index 00000000..45250b3a
Binary files /dev/null and b/docs/assets/img/product_pics/core/gray/gray_01.webp differ
diff --git a/docs/assets/img/product_pics/core/m5go/m5go_02.png b/docs/assets/img/product_pics/core/m5go/m5go_02.png
deleted file mode 100644
index 14e29b73..00000000
Binary files a/docs/assets/img/product_pics/core/m5go/m5go_02.png and /dev/null differ
diff --git a/docs/assets/img/product_pics/core/m5go/m5go_02.webp b/docs/assets/img/product_pics/core/m5go/m5go_02.webp
new file mode 100644
index 00000000..76223f33
Binary files /dev/null and b/docs/assets/img/product_pics/core/m5go/m5go_02.webp differ
diff --git a/docs/assets/img/product_pics/core/minicore/m5stickc/m5stickc_01.jpg b/docs/assets/img/product_pics/core/minicore/m5stickc/m5stickc_01.jpg
deleted file mode 100644
index 78ef629b..00000000
Binary files a/docs/assets/img/product_pics/core/minicore/m5stickc/m5stickc_01.jpg and /dev/null differ
diff --git a/docs/assets/img/product_pics/core/minicore/m5stickc/m5stickc_01.webp b/docs/assets/img/product_pics/core/minicore/m5stickc/m5stickc_01.webp
new file mode 100644
index 00000000..d1f2bd14
Binary files /dev/null and b/docs/assets/img/product_pics/core/minicore/m5stickc/m5stickc_01.webp differ
diff --git a/docs/assets/img/product_pics/core/minicore/m5stickc/m5stickc_05.jpg b/docs/assets/img/product_pics/core/minicore/m5stickc/m5stickc_05.jpg
deleted file mode 100644
index 559182cf..00000000
Binary files a/docs/assets/img/product_pics/core/minicore/m5stickc/m5stickc_05.jpg and /dev/null differ
diff --git a/docs/assets/img/product_pics/core/minicore/m5stickc/m5stickc_05.webp b/docs/assets/img/product_pics/core/minicore/m5stickc/m5stickc_05.webp
new file mode 100644
index 00000000..8debc09e
Binary files /dev/null and b/docs/assets/img/product_pics/core/minicore/m5stickc/m5stickc_05.webp differ
diff --git a/docs/en/api.md b/docs/en/arduino/arduino_api.md
similarity index 96%
rename from docs/en/api.md
rename to docs/en/arduino/arduino_api.md
index 1e928503..fe492b52 100644
--- a/docs/en/api.md
+++ b/docs/en/arduino/arduino_api.md
@@ -1,21 +1,21 @@
-# Arduino API {docsify-ignore-all}
-
-## M5Core
-
-|||
-|:---:|:---:|
-|**[System](en/api/system)** | **[Speaker](en/api/speaker)** |
-|**[LCD](en/api/lcd)** | **[Button](en/api/button)** |
-|**[IMU Sensor(MPU9250)](en/api/mpu9250)** | **[TF Card](en/api/tf)** |
-|**[Power](en/api/power)** |**[I/O](en/api/gpio)** |
-|**[I2C Communication](en/api/commutil)** | **[WIFI](en/api/wifi)**|
-|**[Timer](en/api/ticker)**|
-
-
-## M5StickC
-
-|||
-|:---:|:---:|
-|**[System](en/api/system_m5stickc)** | **[Power Management(AXP192)](en/api/axp192_m5stickc)** |
-|**[TFT Screen](en/api/lcd_m5stickc)** | **[IMU(SH200Q)](en/api/sh200q_m5stickc)** |
-|**[RTC](en/api/rtc)**|
+# Arduino API {docsify-ignore-all}
+
+## M5Core
+
+|||
+|:---:|:---:|
+|**[System](en/api/system)** | **[Speaker](en/api/speaker)** |
+|**[LCD](en/api/lcd)** | **[Button](en/api/button)** |
+|**[IMU Sensor(MPU9250)](en/api/mpu9250)** | **[TF Card](en/api/tf)** |
+|**[Power](en/api/power)** |**[I/O](en/api/gpio)** |
+|**[I2C Communication](en/api/commutil)** | **[WIFI](en/api/wifi)**|
+|**[Timer](en/api/ticker)**|
+
+
+## M5StickC
+
+|||
+|:---:|:---:|
+|**[System](en/api/system_m5stickc)** | **[Power Management(AXP192)](en/api/axp192_m5stickc)** |
+|**[TFT Screen](en/api/lcd_m5stickc)** | **[IMU(SH200Q)](en/api/sh200q_m5stickc)** |
+|**[RTC](en/api/rtc)**|
diff --git a/docs/en/arduino/arduino_development.md b/docs/en/arduino/arduino_development.md
new file mode 100644
index 00000000..72b653be
--- /dev/null
+++ b/docs/en/arduino/arduino_development.md
@@ -0,0 +1,101 @@
+# Arduino IDE Development{docsify-ignore-all}
+
+
+1. [Install Arduino-IDE](#Install-Arduino-IDE)
+
+2. [Install ESP32 Board](#Install-ESP32-Board)
+
+3. [Install M5Stack Library](#Install-M5Stack-Library)
+
+4. [Install USB Driver](#Install-USB-Driver)
+
+## Install Arduino-IDE
+
+
+>[Click here to visit Arduino's official website](https://www.arduino.cc/en/Main/Software),Select the installation package for your own operating system to download.
+
+
+
+
+
+## Install ESP32 Board
+
+>1.Open up Arduino IDE, navigate to `File`->`Peferences`->`Settings`
+
+
+
+>2.Copy the following ESP32 Boards Manager url to `Additional Boards Manager URLs:`
+
+**https://dl.espressif.com/dl/package_esp32_index.json**
+
+
+
+>3.Navigate to `Tools`->`Board:`->`Boards Manager...`
+
+
+
+>4.Search `ESP32` in the pop-up window, find it and click `Install`
+
+
+
+>5.select `Tools`->`Board:`->`ESP32`
+
+
+
+## Install M5Stack Library
+
+>Different hardware devices, with different case libraries, please choose to download according to the device you use..Open Arduino IDE, then Select `Sketch`->`Include Library`->`Manage Libraries...`
+
+
+
+### For M5Core and M5Stick
+
+?>Search `M5Stack` , find it and click `Install`
+
+
+
+### For M5Stick-C
+
+?>Search `M5StickC` , find it and click `Install`
+
+
+
+## Install USB Driver
+
+>1.Click on the CP210X driver for your operating system below to download.
+
+
+
+
+### For Mac
+
+>Unzip the downloaded driver package, install the program, double-click the image file to start the installation..
+
+
+
+
+s
\ No newline at end of file
diff --git a/docs/en/arduino/arduino_home_page.md b/docs/en/arduino/arduino_home_page.md
new file mode 100644
index 00000000..28c60934
--- /dev/null
+++ b/docs/en/arduino/arduino_home_page.md
@@ -0,0 +1,34 @@
+
+
+
+
+Explain several preparations before using Arduino, including software download of Arduino IDE, and related environment configuration.
+ +

+

:memo:**[Description](#Description)** :bulb:**[Quick Start](en/quick_start/m5core/m5stack_core_quick_start)** :octocat:**[Example](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/FACES)** :electric_plug:**[Schematic](https://github.com/m5stack/M5-Schematic/blob/master/Core/Basic/M5-Core-Schematic(20171206).pdf)** 🛒**[Purchase](https://m5stack.com/collections/m5-core/products/face)**
diff --git a/docs/en/core/fire.md b/docs/en/core/fire.md
index 5709ae85..6d54bfd1 100644
--- a/docs/en/core/fire.md
+++ b/docs/en/core/fire.md
@@ -1,12 +1,12 @@
# FIRE {docsify-ignore-all}
-
+
* * *
:memo:**[Description](#Description)** :bulb:**[Quick Start](en/quick_start/m5core/m5stack_core_quick_start)** :octocat:**[Example](https://github.com/m5stack/M5Stack/tree/master/examples/Basics)** :electric_plug:**[Schematic](https://github.com/m5stack/M5-Schematic/blob/master/Core/Basic/M5-Core-Schematic(20171206).pdf)** 🛒**[Purchase](https://m5stack.com/collections/m5-core/products/fire-iot-development-kit)** :clapper:**[Related Video](#Related-Video)**
-## Description
+## Description
**M5Stack FIRE Kit** is a upgrade from the Gray kits,except the 9-Axis IMU sensor. It provides more hardware resources : 16M Flash + 4M PSRAM , enhanced Base (M5GO Base and M5GO CHG Base), larger battery, etc.
@@ -49,7 +49,7 @@ The GPIO 16 / 17 in Fire is connected to the PSRAM by default, so when you conne
- Case Material: PC + ABS
- 16 MB Flash
- 4 MB PSRAM
-- BMM150 + SH200Q/MPU6886
+- BMM150 + MPU6886
- Speaker, 3 Buttons, LCD(320*240), 1 Reset
- 2.4G Antenna: Proant 440
- TF card slot (16G Maximum size)
diff --git a/docs/en/core/gray.md b/docs/en/core/gray.md
index 85d8cf70..b9c23980 100644
--- a/docs/en/core/gray.md
+++ b/docs/en/core/gray.md
@@ -1,6 +1,6 @@
# GRAY {docsify-ignore-all}
-
+
diff --git a/docs/en/core/m5go.md b/docs/en/core/m5go.md
index 600bdce5..14c769d7 100644
--- a/docs/en/core/m5go.md
+++ b/docs/en/core/m5go.md
@@ -1,6 +1,6 @@
# M5GO IOT Starter Kit {docsify-ignore-all}
-
+
diff --git a/docs/en/core/m5stickc.md b/docs/en/core/m5stickc.md
index 37590af2..2e9579af 100644
--- a/docs/en/core/m5stickc.md
+++ b/docs/en/core/m5stickc.md
@@ -1,6 +1,6 @@
# M5StickC {docsify-ignore-all}
-
+
* * *
@@ -95,7 +95,7 @@ There are two versions of IMU sensors (MPU6886 and SH200Q) currently available o
Power structure block diagram
-
+
**RED LED & IR Transmitter & BUTTON A & BUTTON B**
diff --git a/docs/en/core/m5stickv.md b/docs/en/core/m5stickv.md
index aba9328a..648bc545 100644
--- a/docs/en/core/m5stickv.md
+++ b/docs/en/core/m5stickv.md
@@ -1,4 +1,4 @@
-# Core M5StickV {docsify-ignore-all}
+# M5StickV {docsify-ignore-all}


diff --git a/docs/en/uiflow/uiflow_home_page.md b/docs/en/uiflow/uiflow_home_page.md
index 77f08ad7..33eb52b8 100644
--- a/docs/en/uiflow/uiflow_home_page.md
+++ b/docs/en/uiflow/uiflow_home_page.md
@@ -1,16 +1,16 @@
-
+
@@ -34,22 +34,22 @@
Introduction to data types in UIFlow, including constants, variables, characters, random numbers, lists, etc.
- -The use of logic judgments, operations, and conditional loops, iterations, functions, etc. in UIFlow.
- -The higher-level functions in UIFlow involve remote functions and the use of MQTT communication.
- -Introduction to data types in UIFlow, including constants, variables, characters, random numbers, lists, etc.
+ +The use of logic judgments, operations, and conditional loops, iterations, functions, etc. in UIFlow.
+ +The higher-level functions in UIFlow involve remote functions and the use of MQTT communication.
+ +
-**Please notice:** There are 2 types of **M5Camera**
-- Model A & Model B
-- They have different circuits, can be identified by backside sticker
-- Model A is halt production. The new coming **M5Camera** is just Model B
-- In Model A circuit design MPU6050 and camera sensor have I2C conflict, which means you can't use both at the same time.
-- Model B have better performance on image quality and processing speed.
-
-
-
-**Note: M5Camera is named differently when different hardware is selected. They follow the rules below.**
-
-*M5Camera_#_#... means optional hardware name follows "M5Camera".*
-
-* If configured with MPU6050, will be named M5Camera_6050
-* If also configured with microphone, will be named M5Camera_6050_MIC
-* If also configured with BME280, will be named M5Camera_6050_MIC_BME280
-
-
-
+
## Product Features
@@ -123,7 +105,7 @@ The hardware also comes with some reserved weld pad, just in case you want put t
| Pixel Data Bit 6 | D8 |IO36 |IO36 |
| Pixel Data Bit 7 | D9 |IO19 |IO19 |
| Camera Reset | RESET |IO15 |IO15 |
-| Camera Power Down | PWDN | *see Note 1* | *see Note 1* |
+| Camera Power Down | PWDN | / | / |
| Power Supply 3.3V | 3V3 | 3V3 | 3V3 |
| Ground | GND | GND | GND |
diff --git a/docs/index.html b/docs/index.html
index 5659ae97..0af3764d 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -23,8 +23,8 @@
//监听加载状态改变
document.onreadystatechange = completeLoading;
//加载状态为complete时隐藏loading效果
- function completeLoading() {
- if (document.readyState == "complete") {
+ function completeLoading() {
+ if (document.readyState == "complete") {
var loadingMask = document.getElementById('loading');
loadingMask.style.display = 'none';
// loadingMask.parentNode.removeChild(loadingMask);
@@ -61,25 +61,33 @@
M5Stack Docs