File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ build_flags = ${WioTrackerL1.build_flags}
8585build_src_filter = ${WioTrackerL1.build_src_filter}
8686 +<helpers/nrf52/SerialBLEInterface.cpp>
8787 +<../examples/companion_radio>
88+ +<helpers/ui/MomentaryButton.cpp>
8889 +<helpers/ui/buzzer.cpp>
8990lib_deps = ${WioTrackerL1.lib_deps}
9091 adafruit/RTClib @ ^2.1.3
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ WioTrackerL1SensorManager sensors = WioTrackerL1SensorManager(nmea);
1616
1717#ifdef DISPLAY_CLASS
1818 DISPLAY_CLASS display;
19+ MomentaryButton user_btn (PIN_USER_BTN, 1000 , true );
1920#endif
2021
2122bool radio_init () {
Original file line number Diff line number Diff line change 99#include < helpers/ArduinoHelpers.h>
1010#ifdef DISPLAY_CLASS
1111 #include < helpers/ui/SH1106Display.h>
12+ #include < helpers/ui/MomentaryButton.h>
1213#endif
1314#include < helpers/sensors/EnvironmentSensorManager.h>
1415
@@ -38,6 +39,7 @@ extern AutoDiscoverRTCClock rtc_clock;
3839extern WioTrackerL1SensorManager sensors;
3940#ifdef DISPLAY_CLASS
4041 extern DISPLAY_CLASS display;
42+ extern MomentaryButton user_btn;
4143#endif
4244
4345bool radio_init ();
You can’t perform that action at this time.
0 commit comments