This commit is contained in:
vany5921
2020-04-30 18:36:33 +08:00
124 changed files with 159 additions and 196 deletions
+3 -3
View File
File diff suppressed because one or more lines are too long
+17 -9
View File
@@ -222,7 +222,7 @@ body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.mar
list-style: none;
background-clip: padding-box;
height: max-content;
box-shadow: 0 12px 11px 0 #888
box-shadow: 0px 17px 18px 0px #f0f0f0;
}
.dropdown div a:hover {
@@ -314,7 +314,7 @@ div.card-img-overlay:hover {
}
.d-flex {
z-index: 50;
z-index: 10000;
position: fixed;
top: 0;
right: 0;
@@ -410,21 +410,29 @@ body[data-page="zh_CN/README.md"] .markdown-section {
}
.d-flex {
display: none !important
/* display: none !important */
left: auto;
transition: all .25s ease;
top: 50px;
width: 50%;
background-color: white;
right: -50%;
}
.d-flex>h1{
display: none;
}
.d-flex.open {
display: block !important;
position: fixed;
top: 50px;
right: 0;
width: 50%;
background-color: white;
z-index: 1000;
left: inherit
z-index: 10000;
}
.d-flex.open>h5 {
.d-flex.open>h1 {
display: none
}
+1 -1
View File
@@ -78,7 +78,7 @@ Let's break it down a little bit, start with the bottom part.
## Example
[Please click here to download Arduino code](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/App/acSocketCtl)
[Please click here to download Arduino code](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/AC-SOCKET)
## ACSocket Modbus RTU Protocol
+1 -1
View File
@@ -77,7 +77,7 @@ NOTE: Calibration required for first usePress and hold the right C key to sta
### 1. Arduino IDE
To get complete code, please click[click](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/Bala)
To get complete code, please click[click](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/BALA)
## PinMap
+1 -1
View File
@@ -101,7 +101,7 @@ Mode config method: Motor address + nByte
### 1. Arduino IDE
[Click here to download Arduino code](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/BaseX)
[Click here to download Arduino code](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/BaseX)
### 2. UIFlow
+1 -16
View File
@@ -82,23 +82,8 @@ Be care about TTL Interface. It is a UART Interface actually by default. But you
### 1. Arduino IDE
#### CAN communication
If you want the complete code `faces_encoder.ino`, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/COMMU)
These are two COMMU examples for CAN communication, tansmitter and receiver. Press Button A to sent the message, and display the received message on the screen.
**Step 1**: Copy [MCP_CAN_lib file](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/COMMU/Arduino/DependentLibrary/MCP_CAN_lib) to `C:\Users\<user_name>\Documents\Arduino\libraries`,
**Step 2**: Open project file `commu_can_transmitter.ino`, and `commu_can_receiver.ino`
**Step 3**: Compile and upload the two project to two M5Cores separatly.
The below code is incomplete(just for usage). If you want the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/COMMU/Arduino/CAN)
<img src="assets/img/product_pics/module/module_example/COMMU/example_module_commu_01.webp" width="50%" height="50%">
#### RS485 communication
This is a COMMU example for RS485 communication.
Burn [example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/COMMU/Arduino/RS485) to two M5Cores. Then after pressed Button A, this two cores will send message to each other and receive data.
<img src="assets/img/product_pics/module/module_example/COMMU/example_module_commu_02.webp" width="50%" height="50%">
+1 -1
View File
@@ -112,7 +112,7 @@ void get_encoder_increment(void){
### 1. Arduino IDE
If you want the complete code `faces_encoder.ino`, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/ENCODER/Arduino/faces_encoder)
If you want the complete code `faces_encoder.ino`, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Face/ENCODER)
<img src="assets/img/product_pics/module/module_example/ENCODER/example_faces_encoder_01.webp" width="55%" height="55%">
+1 -1
View File
@@ -31,7 +31,7 @@
### 1. Arduino IDE
To the complete code , click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/FACESII_NeoPixelTest)
To the complete code , click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Face/FACESII_RGB_BAR)
<script>
+1 -1
View File
@@ -64,7 +64,7 @@ Communication Protocol: UART.
### 1. Arduino IDE
If you want the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/FACES_FINGER)
If you want the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Face/FINGER)
### 2. UIFlow
+1 -1
View File
@@ -67,7 +67,7 @@ Communication Protocol: I2C.
### 1. Arduino IDE
If you want the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/FACES_RFID)
If you want the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Face/RFID)
### 2. UIFlow
+1 -3
View File
@@ -75,12 +75,10 @@ If you want to Change the uart baudrate,please check here ( [u-center-just-for-W
### 1. Arduino IDE
To the complete code `GPSRaw.ino`, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/GPS/Arduino)
To the complete code `GPSRaw.ino`, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/GPS_NEO_M8N)
**Note: The GPS module needs placed outdoors to be able to receive GPS signal**
After burnt the example code `GPSRaw.ino`, m5core and PC serial terminal will display following information
<img src="assets/img/product_pics/module/module_example/GPS/example_module_gps_01.webp">
**Protocol Specification:**
+1 -1
View File
@@ -89,7 +89,7 @@ Product Feature:
### 1. Arduino IDE
To get complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/GSM/Arduino)
To get complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/GSM_M6315)
### Pin Map
+1 -1
View File
@@ -87,7 +87,7 @@ void get_joystick_offset(void){
### 1. Arduino IDE
To the complete code `faces_joystick.ino`, click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/JOYSTICK/Arduino/faces_joystick)
To the complete code `faces_joystick.ino`, click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Face/JOYSTICK)
### 2. UIFLOW
+1 -1
View File
@@ -57,7 +57,7 @@ LEGO motor is one of the Technic pieces form LEGO. The purpose of LEGO Technic i
### 1. Arduino
To get the complete Arduino code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/LEGO_PLUS/LEGO_Test)
To get the complete Arduino code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/LEGO_PLUS)
### 2. UIFlow
+1 -1
View File
@@ -59,7 +59,7 @@ LoRa (433MHz) and LoRaWAN permit long-range connectivity for Internet of Things
### 1. Arduino IDE
These are the point-to-point communication [examples](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/LORA/Arduino) between two LORA modules. The LoRa nodes send and receive messages.
These are the point-to-point communication [examples](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/LoRa433_SX1278) between two LORA modules. The LoRa nodes send and receive messages.
* Blue string indicates sending succeed.
+1 -1
View File
@@ -74,7 +74,7 @@ LoRa and LoRaWAN permit long-range connectivity for Internet of Things (IoT) dev
### 1. Arduino IDE
These are the point-to-point communication [examples](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/LORA868/Arduino) between two LORA868 modules. The LoRa nodes send and receive messages.
These are the point-to-point communication [examples](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/LORA868_SX1276/LoRa868Duplex) between two LORA868 modules. The LoRa nodes send and receive messages.
* Blue string indicates sending succeed.
+1 -1
View File
@@ -101,7 +101,7 @@ Press button A to clear the screen.
**Note:** Befor compiling this program, please extract `LoRaWan_for_M5Stack.rar` to this path `C:\Users\<user_name>\Documents\Arduino\libraries`.
The below code is incomplete. To get the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/LORAWAN/Arduino)
The below code is incomplete. To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/LoRaWAN_RHF76_052)
<img src="assets/img/product_pics/module/module_example/LORAWAN/example_module_lorawan_01.webp">
+1 -1
View File
@@ -89,7 +89,7 @@ Product Feature:
### 1. Arduino IDE
To get complete code, please click [here](https://github.com/m5stack/M5Stack/blob/master/examples/Modules/LTE/LTE.ino)
To get complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/LTE_M8321)
### Pin Map
+1 -1
View File
@@ -120,7 +120,7 @@ only for reference
### 1. Arduino IDE
To get complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/NB-IoT)
To get complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/NB-IoT_M5311LV)
### Pin Map
+1 -1
View File
@@ -114,7 +114,7 @@ only for reference
### 1. Arduino IDE
To get example code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/NB-IoT_PLUS)
To get example code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/NB-IoT-PLUS_M5311GB)
### Pin Map

Some files were not shown because too many files have changed in this diff Show More