From 392a7a39710cfba94ccbe7d32f1cbb7e7b40343d Mon Sep 17 00:00:00 2001 From: Hpsaturn Date: Sun, 5 Jun 2022 21:35:28 +0200 Subject: [PATCH 1/2] fixed board type issue and set to the last version of SensorsLib --- examples/m5coreink/platformio.ini | 6 +++--- examples/m5coreink/src/main.cpp | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/examples/m5coreink/platformio.ini b/examples/m5coreink/platformio.ini index c5060334..93380db0 100644 --- a/examples/m5coreink/platformio.ini +++ b/examples/m5coreink/platformio.ini @@ -10,7 +10,7 @@ [env:m5stack-core-esp32] platform = espressif32 -board = m5stack-core-esp32 +board = m5stack-coreink monitor_speed = 115200 framework = arduino monitor_filters = time @@ -19,6 +19,6 @@ build_flags = -D CORE_DEBUG_LEVEL=0 lib_deps = - hpsaturn/CanAirIO Air Quality Sensors Library @ ^0.5.0 + hpsaturn/CanAirIO Air Quality Sensors Library @ ^0.5.5 https://github.com/ZinggJM/GxEPD2.git - https://github.com/hpsaturn/M5-CoreInk.git#fix_inkEnable_issue \ No newline at end of file + https://github.com/hpsaturn/M5-CoreInk.git#fix_inkEnable_issue diff --git a/examples/m5coreink/src/main.cpp b/examples/m5coreink/src/main.cpp index f5322a88..f210f33c 100644 --- a/examples/m5coreink/src/main.cpp +++ b/examples/m5coreink/src/main.cpp @@ -5,9 +5,12 @@ * This project using CanAirIO Sensors Library. You can find the library here: * https://github.com/kike-canaries/canairio_sensorlib * - * The source code, documentation and the last version of this project here: + * == W A R N I N G == + * + * The source code, documentation and the **last version** of this sample is here: * https://github.com/hpsaturn/co2_m5coreink * + * ================== * Tested with: * * - One SCD30 (C02 sensor) From 48642b3894c6170cd2f528b32099c9331cecb513 Mon Sep 17 00:00:00 2001 From: Hpsaturn Date: Sun, 5 Jun 2022 21:36:03 +0200 Subject: [PATCH 2/2] testing fix for CI issue with M5Atom --- .github/workflows/platformio.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/platformio.yml b/.github/workflows/platformio.yml index 22d98b51..8650b72e 100644 --- a/.github/workflows/platformio.yml +++ b/.github/workflows/platformio.yml @@ -30,8 +30,9 @@ jobs: - name: Submitted library code test run: | pio run - - name: PlatformIO registry test (M5Atom example) + - name: PlatformIO registry test (M5CoreInk example) run: | - cd examples/m5atom + git clone https://github.com/hpsaturn/co2_m5coreink.git + cd co2_m5coreink pio run