Skip to content

Commit

Permalink
comment editor & insert include guard
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinyu-Zhao committed Aug 19, 2023
1 parent 3971a02 commit d9a697d
Show file tree
Hide file tree
Showing 72 changed files with 106 additions and 103 deletions.
4 changes: 2 additions & 2 deletions examples/Advanced/Display/HZK16/HZK16.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: Character library. 字库
* Describe: Character library. 字库
* Date: 2021/7/28
*******************************************************************************
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/Display/TFT_Ellipse/TFT_Ellipse.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: Ellipse drawing. 椭圆绘制
* Describe: Ellipse drawing. 椭圆绘制
* Date: 2021/7/27
*******************************************************************************/

Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/EzData/EzData.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: EzData.
* Describe: EzData.
* Date: 2021/10/23
*******************************************************************************
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/HallSensor/HallSensor.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: Hall sensor. 霍尔传感器
* Describe: Hall sensor. 霍尔传感器
* Date: 2021/7/27
*******************************************************************************
The ESP32 MCU has build in Hall sensor. ESP32 MCU内置霍尔传感器
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/I2C_Tester/I2C_Tester.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: I2C Scanner. I2C探测
* Describe: I2C Scanner. I2C探测
* Date: 2021/7/27
*******************************************************************************
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: Wake-On-Motion. MPU6886运动唤醒
* Describe: Wake-On-Motion. MPU6886运动唤醒
* Date: 2023/7/21
*******************************************************************************
The device automatically enters deep sleep mode after 5s of inactivity, and
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/MQTT/MQTT.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: MQTT.
* Describe: MQTT.
* Date: 2021/11/5
*******************************************************************************
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/MultSerial/MultSerial.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: MultSerial. 多串口
* Describe: MultSerial. 多串口
* Date: 2021/8/5
******************************************************************************
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/MultiTask/MultiTask.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: MultiTask. 多线程
* Describe: MultiTask. 多线程
* Date: 2021/7/27
*******************************************************************************
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/QRCode/QRCode.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: QRcode. 创建二维码
* Describe: QRcode. 创建二维码
* Date: 2021/7/27
*******************************************************************************
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/Storage/Counter/Counter.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: counter. 计数器
* Describe: counter. 计数器
* Date: 2021/8/3
*******************************************************************************
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/Storage/EEPROM/EEPROM.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: EEPROM Read & Write.
* Describe: EEPROM Read & Write.
* Date: 2021/7/30
*******************************************************************************
The values stored in the EEPROM will remain in the EEPROM even after the
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/Storage/SPIFFS/SPIFFS/SPIFFS.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: SPIFFS write & read. 闪存文件读写
* Describe: SPIFFS write & read. 闪存文件读写
* Date: 2021/8/4
*******************************************************************************
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/Storage/SPIFFS/SPIFFS_Add/SPIFFS_Add.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: SPIFFS Add(Write is to clean up the contents of the file and write
* Describe: SPIFFS Add(Write is to clean up the contents of the file and write
*it again.). 向SPIFFS中添加信息(write是将文件内容完全清除重新写) Date: 2021/8/4
******************************************************************************
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: SPIFFS Delete
* Describe: SPIFFS Delete
* Date: 2021/8/4
******************************************************************************
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/Time/Time.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: NTP TIME.
* Describe: NTP TIME.
* Date: 2021/8/3
*******************************************************************************/

Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/WIFI/BasicHttpClient/BasicHttpClient.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: BasicHTTPClient.
* Describe: BasicHTTPClient.
* Date: 2021/8/4
******************************************************************************
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/WIFI/OTAUpload/OTAUpload.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: OTA Upload. 隔空传输程序
* Describe: OTA Upload. 隔空传输程序
* Date: 2021/7/30
*******************************************************************************
PC and M5StickC can only be used on the same wifi.
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/WIFI/WiFiAccessPoint/WiFiAccessPoint.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: WIFI AP. wifi热点
* Describe: WIFI AP. wifi热点
* Date: 2021/7/29
*******************************************************************************
WiFiAccessPoint.ino creates a WiFi access point and provides a web server on
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/WIFI/WiFiMulti/WiFiMulti.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: WIFI Multi. 多wifi择优
* Describe: WIFI Multi. 多wifi择优
* Date: 2021/7/29
*******************************************************************************
* Connect to the best AP based on a given wifi list
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/WIFI/WiFiScan/WiFiScan.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: Wifi scan. wifi扫描
* Describe: Wifi scan. wifi扫描
* Date: 2022/4/3
*******************************************************************************
http://forum.m5stack.com/topic/58/lesson-3-wi-fi-scanner
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/WIFI/WiFiSetting/WiFiSetting.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: WiFi connect. wifi连接
* Describe: WiFi connect. wifi连接
* Date: 2021/7/27
*******************************************************************************
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/WIFI/WiFiSmartConfig/WiFiSmartConfig.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: WIFI Smart Config. WIFI智能配网
* Describe: WIFI Smart Config. WIFI智能配网
* Date: 2021/7/30
*******************************************************************************
* Fill in WIFI configuration information through mobile APP to connect M5StickC
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/WIFI/WiFiTCP/WiFiTCP.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: WIFI TCP.
* Describe: WIFI TCP.
* Date: 2021/7/29
*******************************************************************************
M5StickC will sends a message to a TCP server
Expand Down
4 changes: 2 additions & 2 deletions examples/Advanced/WIFI/mDNS_Find/mDNS_Find.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: announcing & finding services. 广播&查找服务
* Describe: announcing & finding services. 广播&查找服务
* Date: 2021/8/3
*******************************************************************************
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Basics/AXP192/AXP192.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: APX192.
* Describe: APX192.
* Date: 2021/9/3
*******************************************************************************
*/
Expand Down
4 changes: 2 additions & 2 deletions examples/Basics/Button/Button.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
*******************************************************************************
* Copyright (c) 2021 by M5Stack
* Copyright (c) 2023 by M5Stack
* Equipped with M5StickC sample source code
* 配套 M5StickC 示例源代码
* Visit for more information: https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问: https://docs.m5stack.com/zh_CN/core/m5stickc
*
* Describe: Button.
* Describe: Button.
* Date: 2021/11/16
*******************************************************************************
*/
Expand Down
Loading

0 comments on commit d9a697d

Please sign in to comment.