File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
variants/heltec_vision_master_t190 Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,16 @@ lib_deps =
4444extends = Heltec_Vision_Master_T190_base
4545build_flags =
4646 ${Heltec_Vision_Master_T190_base.build_flags}
47+ -I examples/companion_radio/ui-new
4748 -D MAX_CONTACTS =100
4849 -D MAX_GROUP_CHANNELS =8
4950 -D BLE_PIN_CODE =123456 ; dynamic, random PIN
5051 -D BLE_DEBUG_LOGGING =1
5152 -D OFFLINE_QUEUE_SIZE =256
5253build_src_filter = ${Heltec_Vision_Master_T190_base.build_src_filter}
5354 +<helpers/esp32/*.cpp>
54- +<../examples/companion_radio>
55+ +<../examples/companion_radio/*.cpp>
56+ +<../examples/companion_radio/ui-new/*.cpp>
5557lib_deps =
5658 ${Heltec_Vision_Master_T190_base.lib_deps}
5759 densaugeo/base64 @ ~1.4.0
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ SensorManager sensors;
1919
2020#ifdef DISPLAY_CLASS
2121DISPLAY_CLASS display;
22+ MomentaryButton user_btn (PIN_USER_BTN, 1000 , true );
2223#endif
2324
2425bool 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/ST7789Display.h>
12+ #include <helpers/ui/MomentaryButton.h>
1213#endif
1314
1415extern HeltecT190Board board ;
@@ -18,6 +19,7 @@ extern SensorManager sensors;
1819
1920#ifdef DISPLAY_CLASS
2021extern 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