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 @@ -73,6 +73,7 @@ build_src_filter = ${LilyGo_Techo.build_src_filter}
7373 +<helpers/nrf52/TechoBoard.cpp>
7474 +<helpers/nrf52/SerialBLEInterface.cpp>
7575 +<helpers/ui/GxEPDDisplay.cpp>
76+ +<helpers/ui/MomentaryButton.cpp>
7677 +<../examples/companion_radio>
7778lib_deps =
7879 ${LilyGo_Techo.lib_deps}
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ TechoSensorManager sensors = TechoSensorManager(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 1010#include < helpers/sensors/LocationProvider.h>
1111#ifdef DISPLAY_CLASS
1212 #include < helpers/ui/GxEPDDisplay.h>
13+ #include < helpers/ui/MomentaryButton.h>
1314#endif
1415
1516class TechoSensorManager : public SensorManager {
@@ -36,6 +37,7 @@ extern TechoSensorManager sensors;
3637
3738#ifdef DISPLAY_CLASS
3839 extern DISPLAY_CLASS display;
40+ extern MomentaryButton user_btn;
3941#endif
4042
4143bool radio_init ();
You can’t perform that action at this time.
0 commit comments