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.
25 lines
381 B
25 lines
381 B
#pragma once
|
|
|
|
#include "gpio-expander.hpp"
|
|
|
|
namespace gay_ipod {
|
|
|
|
/*
|
|
* Display driver for LVGL.
|
|
*/
|
|
class Display {
|
|
public:
|
|
enum Error {};
|
|
static auto create(GpioExpander* expander)
|
|
-> cpp::result<std::unique_ptr<Display>, Error>;
|
|
|
|
Display(GpioExpander *gpio);
|
|
~Display();
|
|
|
|
void WriteData();
|
|
|
|
private:
|
|
GpioExpander *gpio_;
|
|
};
|
|
|
|
} // namespace gay_ipod
|
|
|