You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
415 B
30 lines
415 B
#pragma once |
|
|
|
#include <freertos/FreeRTOS.h> |
|
#include <freertos/task.h> |
|
|
|
class U8G2; |
|
|
|
namespace ugv { |
|
|
|
namespace comms { |
|
class CommsClass; |
|
} |
|
|
|
class DisplayClass { |
|
public: |
|
DisplayClass() = delete; |
|
DisplayClass(comms::CommsClass *comms); |
|
|
|
void Init(); |
|
|
|
private: |
|
comms::CommsClass *comms_; |
|
U8G2 *oled; |
|
TaskHandle_t task_handle_; |
|
|
|
void Run(); |
|
static void RunThread(void *arg); |
|
}; |
|
|
|
} // namespace ugv
|
|
|