#pragma once #include #include class U8G2; namespace ugv { namespace comms { class CommsClass; } namespace io { class IOClass; } class DisplayClass { public: DisplayClass() = delete; DisplayClass(comms::CommsClass *comms, io::IOClass *io); void Init(); private: comms::CommsClass *comms_; io::IOClass *io_; U8G2 *oled; TaskHandle_t task_handle_; void Run(); static void RunThread(void *arg); }; } // namespace ugv