Refactoring 2.

This commit is contained in:
Lubos Petrovic
2020-12-01 23:37:23 +01:00
parent 7e0eab4df4
commit dea408961c
16 changed files with 1845 additions and 1691 deletions

View File

@@ -0,0 +1,24 @@
#ifndef BOARDM5STACKCORE_CPP
#define BOARDM5STACKCORE_CPP
#include "BoardInterface.h"
#include "Board320_240.h"
#include "BoardM5stackCore.h"
/**
Init board
*/
void BoardM5stackCore::initBoard() {
this->invertDisplay = true;
this->pinButtonLeft = BUTTON_LEFT;
this->pinButtonRight = BUTTON_RIGHT;
this->pinButtonMiddle = BUTTON_MIDDLE;
this->pinSpeaker = SPEAKER_PIN;
this->pinBrightness = TFT_BL;
Board320_240::initBoard();
}
#endif // BOARDM5STACKCORE_CPP