// OMOTE firmware for ESP32 // 2023 Maximilian Kern #include "BasicUI.hpp" #include "HardwareRevX.hpp" #include "omoteconfig.h" #include std::shared_ptr hal = nullptr; std::shared_ptr ui = nullptr; void setup() { hal = HardwareRevX::getInstance(); hal->init(); auto ui = UI::BasicUI(hal); // ui->layout_UI(); lv_timer_handler(); // Run the LVGL UI once before the loop takes over } void loop() { hal->loopHandler(); ui->loopHandler(); }