From f202eae9ac64eb62843e158c2cda82390b369fcc Mon Sep 17 00:00:00 2001 From: sdvcrx Date: Thu, 2 Jun 2022 18:13:59 +0800 Subject: [PATCH 1/2] fix: rename esphome main.cpp to main.hpp --- Software/Arduino_CSPS_Lib/examples/ESPHome/{main.cpp => main.hpp} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Software/Arduino_CSPS_Lib/examples/ESPHome/{main.cpp => main.hpp} (100%) diff --git a/Software/Arduino_CSPS_Lib/examples/ESPHome/main.cpp b/Software/Arduino_CSPS_Lib/examples/ESPHome/main.hpp similarity index 100% rename from Software/Arduino_CSPS_Lib/examples/ESPHome/main.cpp rename to Software/Arduino_CSPS_Lib/examples/ESPHome/main.hpp From 5c6935673e1b4c5281b70425967dba1ebec3d4aa Mon Sep 17 00:00:00 2001 From: sdvcrx Date: Thu, 2 Jun 2022 18:15:01 +0800 Subject: [PATCH 2/2] docs(esphome): update ESPHome example --- Software/Arduino_CSPS_Lib/examples/ESPHome/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Software/Arduino_CSPS_Lib/examples/ESPHome/README.md b/Software/Arduino_CSPS_Lib/examples/ESPHome/README.md index b52d0f9..479fcc6 100644 --- a/Software/Arduino_CSPS_Lib/examples/ESPHome/README.md +++ b/Software/Arduino_CSPS_Lib/examples/ESPHome/README.md @@ -5,6 +5,8 @@ ```yaml esphome: # 原先内容 + libraries: + - Wire includes: - CSPS/main.hpp - CSPS/KCORES_CSPS.h