Skip to content

Commit

Permalink
Merge pull request #63 from Tinyu-Zhao/Update
Browse files Browse the repository at this point in the history
fix error
  • Loading branch information
Tinyu-Zhao authored Sep 3, 2021
2 parents 0165d50 + c48792b commit 95668a7
Show file tree
Hide file tree
Showing 19 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions examples/Unit/BPS_BMP280/BPS_BMP280.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:BPS_BMP280. 压力传感器
* date:2021/8/10
******************************************** ***********************************
Please connect to Port A(22、21),Read atmospheric pressure and temperature and display them on the display screen
请连接端口A(22、21),读取大气压强和温度并在显示屏上显示
Please connect to Port A,Read atmospheric pressure and temperature and display them on the display screen
请连接端口A,读取大气压强和温度并在显示屏上显示
*/
#include <M5Core2.h>
#include <Wire.h> //The BPS uses I2C comunication.
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/BPS_QMP6988/BPS_QMP6988.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:BPS_QMP6988. 压力传感器
* date:2021/8/10
******************************************************************************
Please connect to Port A(22、21),Read atmospheric pressure and display them on the display screen
请连接端口A(22、21),读取大气压强并在显示屏上显示
Please connect to Port A,Read atmospheric pressure and display them on the display screen
请连接端口A,读取大气压强并在显示屏上显示
*/
#include <M5Core2.h>
#include "Wire.h" //The BPS uses I2C comunication.
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/BUTTON/BUTTON.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:Button. 按键
* date:2021/7/26
*******************************************************************************
Please connect to Port B(36),Read the button status of BUTTON Unit and display it on the screen
请连接端口B(36),读取按键的状态并在显示屏上显示
Please connect to Port B,Read the button status of BUTTON Unit and display it on the screen
请连接端口B,读取按键的状态并在显示屏上显示
if you don't have M5GO BOTTOM, you need change the pinMode and the digitalRead to 33, But you will not be able to use any I2C operations.
如果你没有M5GO BOTTOM,你需要改变pinMode和digitalRead到33,但是你将不能使用任何I2C操作.
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/COLOR_TCS3472/COLOR_TCS3472.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:COLOR_TCS3472. 颜色识别
* date:2021/8/11
*******************************************************************************
Please connect to Port A(22、21),Use COLOR Unit to read C, R, G, B values
请连接端口A(22、21),使用COLOR Unit读取C, R, G, B值
Please connect to Port A,Use COLOR Unit to read C, R, G, B values
请连接端口A,使用COLOR Unit读取C, R, G, B值
*/

#include <M5Core2.h>
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/CardKB/CardKB.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:CardKB. 键盘
* date:2021/8/11
*******************************************************************************
Please connect to Port A(22、21),Read the characters entered by CardKB Unit and display them on the screen.
请连接端口A(22、21),读取CardKB Unit输入的字符并显示在屏幕上。
Please connect to Port A,Read the characters entered by CardKB Unit and display them on the screen.
请连接端口A,读取CardKB Unit输入的字符并显示在屏幕上。
*/

#include <M5Core2.h>
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/DAC_MCP4725/DAC_MCP4725.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:DAC_MCP4725. 数模转换
* date:2021/8/16
*******************************************************************************
Please connect to Port A(22、21),Use DAC Unit to output 0 ~ 3.3V voltage with an accuracy of 12 bits.
请连接端口A(22、21),使用DAC Unit 输出12位精度的0 ~ 3.3V电压。
Please connect to Port A,Use DAC Unit to output 0 ~ 3.3V voltage with an accuracy of 12 bits.
请连接端口A,使用DAC Unit 输出12位精度的0 ~ 3.3V电压。
*/

#include <M5Core2.h>
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/DUAL_BUTTON/DUAL_BUTTON.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:Button_Two. 双按键
* date:2021/8/9
*******************************************************************************
Please connect to Port B(36、26),Read the button status of BUTTON Unit and display it on the screen
请连接端口B(36、26),读取按键的状态并在显示屏上显示
Please connect to Port B,Read the button status of BUTTON Unit and display it on the screen
请连接端口B,读取按键的状态并在显示屏上显示
if you don't have M5GO BOTTOM, you need change the pinMode and the digitalRead to 33、32, But you will not be able to use any I2C operations.
如果你没有M5GO BOTTOM,你需要改变pinMode和digitalRead到 33,32,但是你将不能使用任何I2C操作.
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/EARTH/EARTH.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:EARTH. 土壤湿度
* date:2021/8/11
*******************************************************************************
Please connect to Port B(26、36),Read the analog quantity and digital quantity returned by the EARTH unit, and convert the analog quantity into 12-bit data and display it on the screen.
请连接端口B(26、36),读取EARTH Unit 返回的模拟量和数字量,并将模拟量转换为12位数据显示在屏幕上。
Please connect to Port B,Read the analog quantity and digital quantity returned by the EARTH unit, and convert the analog quantity into 12-bit data and display it on the screen.
请连接端口B,读取EARTH Unit 返回的模拟量和数字量,并将模拟量转换为12位数据显示在屏幕上。
*/

#include <M5Stack.h>
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/ENVIII_SHT30_QMP6988/ENVIII_SHT30_QMP6988.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:ENVIII_SHT30_QMP6988. 环境传感器
* date:2021/8/17
*******************************************************************************
Please connect to Port A(22、21),Read temperature, humidity and atmospheric pressure and display them on the display screen
请连接端口A(22、21),读取温度、湿度和大气压强并在显示屏上显示
Please connect to Port A,Read temperature, humidity and atmospheric pressure and display them on the display screen
请连接端口A,读取温度、湿度和大气压强并在显示屏上显示
*/
#include <M5Core2.h>
#include "Adafruit_Sensor.h"
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/ENVII_SHT30_BMP280/ENVII_SHT30_BMP280.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:ENVII_SHT30_BMP280. 环境传感器
* date:2021/8/11
*******************************************************************************
Please connect to Port A(22、21),Read temperature, humidity and atmospheric pressure and display them on the display screen
请连接端口A(22、21),读取温度、湿度和大气压强并在显示屏上显示
Please connect to Port A,Read temperature, humidity and atmospheric pressure and display them on the display screen
请连接端口A,读取温度、湿度和大气压强并在显示屏上显示
*/

#include <M5Core2.h>
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/ENV_DHT12_BMP280/ENV_DHT12_BMP280.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:ENVII_DH12_BMP280. 环境传感器
* date:2021/8/17
*******************************************************************************
Please connect to Port A(22、21),Read temperature, humidity and atmospheric pressure and display them on the display screen
请连接端口A(22、21),读取温度、湿度和大气压强并在显示屏上显示
Please connect to Port A,Read temperature, humidity and atmospheric pressure and display them on the display screen
请连接端口A,读取温度、湿度和大气压强并在显示屏上显示
*/

#include <M5Core2.h>
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/FAN/FAN.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:Fan. 风扇
* date:2021/8/16
*******************************************************************************
Please connect to Port B(26), Adjust the speed of FAN Unit through PWM.
请连接端口B(26),通过PWM调节风扇单元的转速。
Please connect to Port B, Adjust the speed of FAN Unit through PWM.
请连接端口B,通过PWM调节风扇单元的转速。
*/
#include <M5Core2.h>

Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/OLED_SH1107/OLED_SH1107.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe: OLED. 显示屏
* date:2021/8/31
*******************************************************************************
Please connect to Port A(22、21),Displays a string on the screen.
请连接端口A(22、21),在屏幕上显示字符串。
Please connect to Port A,Displays a string on the screen.
请连接端口A,在屏幕上显示字符串。
*/
#include <M5UnitOLED.h>

Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/OP90.180_ITR9606/OP90.180_ITR9606.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:OP 180/90. 非接触式光电限位开关
* date:2021/8/16
*******************************************************************************
Please connect to Port B(36),Detect the current OP 90/180 Unit Photoelectric switch status.
请连接端口B(36),检测当前OP 90/180单元光电开关状态。
Please connect to Port B,Detect the current OP 90/180 Unit Photoelectric switch status.
请连接端口B,检测当前OP 90/180单元光电开关状态。
*/

#include <M5Core2.h>
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/PIR/PIR.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:PIR. 人体红外
* date:2021/8/11
*******************************************************************************
Please connect to Port B(26、36),Human body detection using PIR Unit.
请连接端口B(26、36),使用PIR Unit进行人体检测。
Please connect to Port B,Human body detection using PIR Unit.
请连接端口B,使用PIR Unit进行人体检测。
*/

#include <M5Core2.h>
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/RELAY/RELAY.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:Relay. 继电器
* date:2021/8/16
*******************************************************************************
Please connect to Port B(26),Use RELAY to switch on and off the circuit.
请连接端口B(26),使用继电器开关电路。
Please connect to Port B,Use RELAY to switch on and off the circuit.
请连接端口B,使用继电器开关电路。
*/

#include <M5Core2.h>
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/RFID_RC522/RFID_RC522.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe: RFID.
* date:2021/8/19
*******************************************************************************
Please connect to Port A(22、21),Use the RFID Unit to read the Fudan card ID and display the ID on the screen.
请连接端口A(22、21),使用RFID Unit 读取ID卡并在屏幕上显示。
Please connect to Port A,Use the RFID Unit to read the Fudan card ID and display the ID on the screen.
请连接端口A,使用RFID Unit 读取ID卡并在屏幕上显示。
*/

#include <M5Core2.h>
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/RGB_SK6812/RGB_SK6812.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:RGB. 多彩灯
* date:2021/8/11
*******************************************************************************
Please connect to Port B(26、36),Control RGB Unit to scroll through three colors of red, green and blue
请连接端口B(26、36),控制RGB单元滚动红、绿、蓝三种颜色.
Please connect to Port B,Control RGB Unit to scroll through three colors of red, green and blue
请连接端口B,控制RGB单元滚动红、绿、蓝三种颜色.
*/

#include <M5Core2.h>
Expand Down
4 changes: 2 additions & 2 deletions examples/Unit/TOF/TOF_VL53L0X/TOF_VL53L0X.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* describe:ToF. 激光测距
* date:2021/8/16
*******************************************************************************
Please connect to Port A(22、21),Use ToF Unit to detect distance and display distance data on the screen in real time.
请连接端口A(22、21),使用ToF Unit检测距离,并在屏幕上实时显示距离数据。
Please connect to Port A,Use ToF Unit to detect distance and display distance data on the screen in real time.
请连接端口A,使用ToF Unit检测距离,并在屏幕上实时显示距离数据。
*/

#include <M5Core2.h>
Expand Down

0 comments on commit 95668a7

Please sign in to comment.