* added BaseUITask for common behaviours * ui_task now instantiated in one of the variant's target-*.cpp modules
10 lines
184 B
C++
10 lines
184 B
C++
#include <Arduino.h>
|
|
#include "target.h"
|
|
|
|
#ifdef DISPLAY_CLASS
|
|
DISPLAY_CLASS display;
|
|
MomentaryButton user_btn(PIN_USER_BTN, 1000, true);
|
|
|
|
UITask ui_task(board, display);
|
|
#endif
|