Skip to content

Commit 57603f7

Browse files
committed
Some tweaks
1 parent 2db7b18 commit 57603f7

5 files changed

Lines changed: 8 additions & 37 deletions

File tree

.github/workflows/platformio-build-check.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
- NanoC6
7373
- StickCPlus
7474
- StickCPlus2
75+
- StickS3
7576
- Paper
7677
- CoreInk
7778
- Cardputer
@@ -97,6 +98,11 @@ jobs:
9798
board: StickCPlus2
9899
framework: Arduino
99100
espressif32: latest
101+
- example: PlotToSerial
102+
unit: HatHeart
103+
board: StickS3
104+
framework: Arduino
105+
espressif32: latest
100106
- example: PlotToSerial
101107
unit: HatHeart
102108
board: CoreInk

examples/UnitUnified/DualSensor/main/DualSensor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ void setup()
5656
m5cfg.internal_imu = false; // Disable internal IMU
5757
m5cfg.internal_rtc = false; // Disable internal RTC
5858
M5.begin(m5cfg);
59+
M5.setTouchButtonHeightByRatio(100);
5960

6061
const auto board_type = M5.getBoard();
6162

examples/UnitUnified/GraphicalMeter/main/GraphicalMeter.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
Graphical meter example for UnitHeart / HatHeart
88
The core must be equipped with LCD
99
*/
10-
// #define USING_M5HAL // When using M5HAL (UnitHeart only)
11-
1210
#include <M5Unified.h>
1311
#include <M5UnitUnified.h>
1412
#include <M5UnitUnifiedHEART.h>

examples/UnitUnified/PlotToSerial/main/PlotToSerial.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
/*
77
Example using M5UnitUnified for UnitHeart / HatHeart
88
*/
9-
// #define USING_M5HAL // When using M5HAL (UnitHeart only)
10-
119
#include <M5Unified.h>
1210
#include <M5UnitUnified.h>
1311
#include <M5UnitUnifiedHEART.h>
@@ -180,7 +178,7 @@ void setup()
180178
#endif
181179

182180
monitor.setSamplingRate(unit.calculateSamplingRate());
183-
lcd.clear(TFT_DARKGREEN);
181+
lcd.fillScreen(TFT_DARKGREEN);
184182
}
185183

186184
void loop()

platformio.ini

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,6 @@ framework = arduino
166166
platform = espressif32 @ 6.0.1
167167
framework = arduino
168168

169-
[arduino_5_4_0]
170-
platform = espressif32 @ 5.4.0
171-
framework = arduino
172-
173-
[arduino_4_4_0]
174-
platform = espressif32 @ 4.4.0
175-
framework = arduino
176-
177169
[nanoc6_latest]
178170
platform = espressif32 @ 6.12.0
179171
platform_packages =
@@ -385,36 +377,12 @@ build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/UnitUnified/PlotToSerial
385377
build_flags = ${option_release.build_flags}
386378
-D USING_UNIT_HEART
387379

388-
[env:UnitHeart_PlotToSerial_Core_Arduino_5_4_0]
389-
extends=Core, option_release, arduino_5_4_0
390-
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/UnitUnified/PlotToSerial>
391-
build_flags = ${option_release.build_flags}
392-
-D USING_UNIT_HEART
393-
394-
[env:UnitHeart_PlotToSerial_Core_Arduino_4_4_0]
395-
extends=Core, option_release, arduino_4_4_0
396-
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/UnitUnified/PlotToSerial>
397-
build_flags = ${option_release.build_flags}
398-
-D USING_UNIT_HEART
399-
400380
[env:UnitHeart_PlotToSerial_Core2_Arduino_latest]
401381
extends=Core2, option_release, arduino_latest
402382
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/UnitUnified/PlotToSerial>
403383
build_flags = ${option_release.build_flags}
404384
-D USING_UNIT_HEART
405385

406-
[env:UnitHeart_PlotToSerial_Core2_Arduino_5_4_0]
407-
extends=Core2, option_release, arduino_5_4_0
408-
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/UnitUnified/PlotToSerial>
409-
build_flags = ${option_release.build_flags}
410-
-D USING_UNIT_HEART
411-
412-
[env:UnitHeart_PlotToSerial_Core2_Arduino_4_4_0]
413-
extends=Core2, option_release, arduino_4_4_0
414-
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/UnitUnified/PlotToSerial>
415-
build_flags = ${option_release.build_flags}
416-
-D USING_UNIT_HEART
417-
418386
[env:UnitHeart_PlotToSerial_CoreS3_Arduino_latest]
419387
extends=CoreS3, option_release, arduino_latest
420388
build_src_filter = +<*> -<.git/> -<.svn/> +<../examples/UnitUnified/PlotToSerial>

0 commit comments

Comments
 (0)