Merge branch 'master' of github.com:m5stack/m5-docs

This commit is contained in:
ali-admin
2021-02-05 17:59:41 +08:00
156 changed files with 357 additions and 282 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

+1 -1
View File
@@ -105,7 +105,7 @@
## Example
### 1. Arduino IDE
### 1. Arduino
[click here to get Arduino example](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/4-RELAY)
+5 -5
View File
@@ -53,8 +53,8 @@ By measuring the amount of static acceleration, due to gravity, you can find out
<td> ± 16g </td>
</tr>
<tr>
<td> I2C Address </td>
<td> 0x53 </td>
<td>Communication protocol</td>
<td>I2C0x53</td>
</tr>
<tr>
<td> Resolution </td>
@@ -120,13 +120,13 @@ By measuring the amount of static acceleration, due to gravity, you can find out
## Example
### 1. Arduino IDE
### 1. Arduino
[Click here to download the Arduino example](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ACCEL_ADXL345)(Download library ADXL345 before compile)
- [Click here to download the Arduino example](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ACCEL_ADXL345)(Download library ADXL345 before compile)
### 2. UIFlow
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ACCEL/UIFLOW)
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ACCEL/UIFLOW)
<img src="assets/img/product_pics/unit/accel/ACCEL_05.webp">
+7 -3
View File
@@ -77,6 +77,10 @@ The default I2C address is 0x48 unless changed manually.
<td> Noise </td>
<td> 4μVp-p </td>
</tr>
<tr>
<td>Communication protocol</td>
<td>I2C0x48</td>
</tr>
<tr>
<td>Net weight</td>
<td>4g</td>
@@ -128,13 +132,13 @@ The default I2C address is 0x48 unless changed manually.
## Example
### 1. Arduino IDE
### 1. Arduino
[Click here to download the Arduino example](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ADC_ADS1100)
- [Click here to download the Arduino example](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ADC_ADS1100)
### 2. UIFlow
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ADC/UIFlow)
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ADC/UIFlow)
<img src="assets/img/product_pics/unit/unit_example/ADC/example_unit_adc_01.webp">
+5 -5
View File
@@ -55,8 +55,8 @@ The unit has a maximum measurement current of ±4A, and an internal integrated 4
<td>±4A</td>
</tr>
<tr>
<td>Protocol</td>
<td>I2C</td>
<td>Communication protocol</td>
<td>I2C0x48</td>
</tr>
<tr>
<td>Net Weight</td>
@@ -158,13 +158,13 @@ bool Ameter::saveCalibration2EEPROM(ameterGain_t gain, int16_t hope, int16_t act
## Example
### 1. Arduino IDE
### 1. Arduino
[Click here to download the Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/A_Meter_Unit)
- [Click here to download the Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/A_Meter_Unit)
### 2. UIFlow
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/A_Meter_Unit/UIFlow)
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/A_Meter_Unit/UIFlow)
<img src="assets/img/product_pics/unit/a_meter/a_meter.webp">
+2 -2
View File
@@ -108,7 +108,7 @@ The Unit's Grove interface is black, specify it is an analog interface that shou
## Example
### 1. Arduino IDE
### 1. Arduino
The code below is incomplete. To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ANGLE)
@@ -116,7 +116,7 @@ The code below is incomplete. To get the complete code, please click [here](http
### 2. UIFlow
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ANGLE/UIFlow)
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ANGLE/UIFlow)
<img src="assets/img/product_pics/unit/unit_example/ANGLE/example_unit_angle_03.webp">
+13 -2
View File
@@ -76,6 +76,10 @@
<td>Voltage</td>
<td>1.71V - 3.6V</td>
</tr>
<tr>
<td>Communication protocol</td>
<td>I2C0x76</td>
</tr>
<tr>
<td>Net Weight</td>
<td>8g</td>
@@ -137,9 +141,16 @@
## Example
### 1. Arduino IDE
### 1. Arduino
- [Click here to download the Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BPS_Unit)
### 2. UIFlow
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BPS_Unit/UIFlow)
<img src="assets/img/product_pics/unit/bps/BPS_Example.webp">
[Click here to download the Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BPS_Unit)
<el-divider content-position="right">Last updated: 2020-12-11</el-divider>
+1 -1
View File
@@ -97,7 +97,7 @@ The mechanism of series communication: the devices are connected in series, to
## Example
### 1. Arduino IDE
### 1. Arduino
Please click[here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Application/butterfly) to download code
+2 -2
View File
@@ -100,13 +100,13 @@ This unit communicates with M5Core through GROVE B port.
## Example
### 1. Arduino IDE
### 1. Arduino
The code below is incomplete (just for reference). To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/BUTTON)
### 2. UIFlow
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BUTTON/UIFlow)
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BUTTON/UIFlow)
<img src="assets/img/product_pics/unit/unit_example/BUTTON/example_unit_button_03.webp">
+1 -1
View File
@@ -139,7 +139,7 @@ It has some obvious advantages in the following aspects: High speed low failure
## Example
### 1. Arduino IDE
### 1. Arduino
[Click here to download Example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/CAN)
+1 -1
View File
@@ -107,7 +107,7 @@ CardKB also can achieve button combination (Sym+Key, Shift+Key, Fn+Key) and outp
## Example
### 1. Arduino IDE
### 1. Arduino
To get the code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/CardKB)
+1 -1
View File
@@ -63,7 +63,7 @@ Alternative Ports that can be used: A, B, and C ports.
## Example
### 1. Arduino IDE
### 1. Arduino
To get the code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/CATEAR_SK6812)
+4 -4
View File
@@ -63,8 +63,8 @@ This Unit communicates with the M5Core via the GROVE A interface(I2C). Address i
<td>-40°C~85°C</td>
</tr>
<tr>
<td>Communicationmethod</td>
<td>I2C</td>
<td>Communication protocol</td>
<td>I2C0x29</td>
</tr>
<tr>
<td>Net weight</td>
@@ -130,7 +130,7 @@ This Unit communicates with the M5Core via the GROVE A interface(I2C). Address i
## Example
### 1. Arduino IDE
### 1. Arduino
The code below is incomplete. To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/COLOR_TCS3472)
@@ -140,7 +140,7 @@ After burning this example firmware, PC serial terminal will print original valu
### 2. UIFlow
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/COLOR/UIFlow)
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/COLOR/UIFlow)
<img src="assets/img/product_pics/unit/color/color.webp">
+2 -2
View File
@@ -96,13 +96,13 @@ The device I2C address is 0x60 by default unless changed manually.
## Example
### 1. Arduino IDE
### 1. Arduino
The code below is incomplete (just for reference). To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/DAC_MCP4725)
### 2. UIFlow
[Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/DAC/UIFlow)
- [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/DAC/UIFlow)
<img src="assets/img/product_pics/unit/dac.webp">
+1 -1
View File
@@ -110,7 +110,7 @@ It supports deep sleep mode, which can reduce the power consumption in the idle
## Example
### Arduino IDE
### 1. Arduino
- [Arduino example program](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/DDS_AD9833)
+1 -1
View File
@@ -81,7 +81,7 @@ This unit communicates with M5Core through GROVE B port.
## Example
### 1. Arduino IDE
### 1. Arduino
The code below is incomplete (for reference only). To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/DUAL_BUTTON)
+1 -1
View File
@@ -82,7 +82,7 @@ You can read the moisture in soil by using the ADC. Inside this Unit we've added
## Example
### 1. Arduino IDE
### 1. Arduino
The code below is incomplete. To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/EARTH)

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