24 lines
389 B
C++
24 lines
389 B
C++
#pragma once
|
|
|
|
#include "IDisplay.hpp"
|
|
|
|
namespace frame::display
|
|
{
|
|
|
|
class EPD_7in5_V2 : public IDisplay
|
|
{
|
|
public:
|
|
EPD_7in5_V2();
|
|
~EPD_7in5_V2();
|
|
|
|
bool Init() override;
|
|
|
|
void Clear(Color color) override;
|
|
|
|
void Display(Image const& image, bool invert = false) override;
|
|
|
|
void Sleep() override;
|
|
};
|
|
|
|
} // namespace frame::display
|