Button functionality using MCP23017 interrupts and bugfixes
This commit is contained in:
parent
cae31628c0
commit
fb1cd73acf
9 changed files with 121 additions and 46 deletions
|
@ -26,6 +26,10 @@ void TimeScreen::onNewMinute() {
|
|||
TimeScreen::showScreen();
|
||||
}
|
||||
|
||||
void TimeScreen::onActivate() {
|
||||
TimeScreen::showScreen();
|
||||
}
|
||||
|
||||
std::array<String, 7> TimeScreen::getEpdContent() {
|
||||
return TimeScreen::epdContent;
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@ class TimeScreen {
|
|||
static void init();
|
||||
static void showScreen();
|
||||
static void onNewMinute();
|
||||
static void onActivate();
|
||||
static std::array<String, 7> getEpdContent();
|
||||
static TimeScreen* getInstance();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue