File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ lib_deps =
7979extends = Xiao_S3_WIO
8080build_flags =
8181 ${Xiao_S3_WIO.build_flags}
82+ -I examples/companion_radio/ui-new
8283 -D MAX_CONTACTS =100
8384 -D MAX_GROUP_CHANNELS =8
8485 -D BLE_PIN_CODE =123456
@@ -90,7 +91,9 @@ build_flags =
9091build_src_filter = ${Xiao_S3_WIO.build_src_filter}
9192 +<helpers/ui/SSD1306Display.cpp>
9293 +<helpers/esp32/*.cpp>
93- +<../examples/companion_radio>
94+ +<helpers/ui/MomentaryButton.cpp>
95+ +<../examples/companion_radio/*.cpp>
96+ +<../examples/companion_radio/ui-new/*.cpp>
9497lib_deps =
9598 ${Xiao_S3_WIO.lib_deps}
9699 densaugeo/base64 @ ~1.4.0
@@ -108,7 +111,7 @@ build_flags =
108111; -D MESH_DEBUG=1
109112build_src_filter = ${Xiao_S3_WIO.build_src_filter}
110113 +<helpers/esp32/*.cpp>
111- +<../examples/companion_radio>
114+ +<../examples/companion_radio/*.cpp >
112115lib_deps =
113116 ${Xiao_S3_WIO.lib_deps}
114117 densaugeo/base64 @ ~1.4.0
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ SensorManager sensors;
1818
1919#ifdef DISPLAY_CLASS
2020 DISPLAY_CLASS display;
21+ MomentaryButton user_btn (PIN_USER_BTN, 1000 , true );
2122#endif
2223
2324bool radio_init () {
Original file line number Diff line number Diff line change 99#include <helpers/SensorManager.h>
1010#ifdef DISPLAY_CLASS
1111 #include <helpers/ui/SSD1306Display.h>
12+ #include <helpers/ui/MomentaryButton.h>
1213#endif
1314
1415extern ESP32Board board ;
@@ -18,6 +19,7 @@ extern SensorManager sensors;
1819
1920#ifdef DISPLAY_CLASS
2021 extern DISPLAY_CLASS display ;
22+ extern MomentaryButton user_btn ;
2123#endif
2224
2325bool radio_init ();
You can’t perform that action at this time.
0 commit comments