Add touch panel port to lvgl.

PoC of user interaction with 3 screen (clock, menu and app).
This commit is contained in:
JF
2020-02-16 18:32:36 +01:00
parent 52539a5ff1
commit 167a0ffc87
18 changed files with 540 additions and 68 deletions

View File

@@ -49,7 +49,7 @@ void DateTime::UpdateTime(uint32_t systickCounter) {
previousSystickCounter = 0xffffff - (rest - systickCounter);
}
currentDateTime += std::chrono::milliseconds (systickDelta*10);
currentDateTime += std::chrono::seconds (correctedDelta);
auto dp = date::floor<date::days>(currentDateTime);
auto time = date::make_time(currentDateTime-dp);