mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-01 11:25:44 +00:00

* Strip redundant code from E-Ink driver * Begin polling for E-Ink update completion sooner In some cases, we might be waiting longer than we need to. * E-Ink driver for WeAct 1.54" display Currently identical to the popular GDEY0154D67 model. Kept separate now in case the drivers need to diverge in future. * Put back code which sets the number of gate lines
42 lines
895 B
C++
42 lines
895 B
C++
/*
|
|
|
|
E-Ink display driver
|
|
- GDEY0154D67
|
|
- Manufacturer: Goodisplay
|
|
- Size: 1.54 inch
|
|
- Resolution: 200px x 200px
|
|
- Flex connector marking (not a unique identifier): FPC-B001
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef MESHTASTIC_INCLUDE_NICHE_GRAPHICS
|
|
|
|
#include "configuration.h"
|
|
|
|
#include "./SSD16XX.h"
|
|
|
|
namespace NicheGraphics::Drivers
|
|
{
|
|
class GDEY0154D67 : public SSD16XX
|
|
{
|
|
// Display properties
|
|
private:
|
|
static constexpr uint32_t width = 200;
|
|
static constexpr uint32_t height = 200;
|
|
static constexpr UpdateTypes supported = (UpdateTypes)(FULL | FAST);
|
|
|
|
public:
|
|
GDEY0154D67() : SSD16XX(width, height, supported) {}
|
|
|
|
protected:
|
|
void configScanning() override;
|
|
void configWaveform() override;
|
|
void configUpdateSequence() override;
|
|
void detachFromUpdate() override;
|
|
};
|
|
|
|
} // namespace NicheGraphics::Drivers
|
|
|
|
#endif // MESHTASTIC_INCLUDE_NICHE_GRAPHICS
|