Paperd.Ink Library
0.0.5
Library for interacting with Paperd.Ink devices.
Loading...
Searching...
No Matches
merlot.h
Go to the documentation of this file.
1
#ifndef _PDINK_MERLOT_H_
2
#define _PDINK_MERLOT_H_
3
4
#include "
base.h
"
5
6
class
Paperdink_Merlot
:
public
PaperdinkDeviceBaseClass
7
{
8
public
:
9
bool
has_color
=
true
;
10
bool
has_greyscale
=
false
;
11
uint16_t
color
=
GxEPD_RED
;
12
13
GxEPD2_3C<GxEPD2_420c_Z21, GxEPD2_420c_Z21::HEIGHT>
epd
=
GxEPD2_420c_Z21
(
EPD_CS
,
EPD_DC
,
EPD_RST
,
EPD_BUSY
);
14
int8_t
enable_display
()
override
;
15
int8_t
disable_display
()
override
;
16
};
17
18
#endif
/* _PDINK_MERLOT_H_ */
GxEPD_RED
#define GxEPD_RED
Definition
GxEPD2.h:25
base.h
GxEPD2_3C
Definition
GxEPD2_3C.h:55
GxEPD2_420c_Z21
Definition
GxEPD2_420c_Z21.h:20
PaperdinkDeviceBaseClass
Definition
base.h:13
Paperdink_Merlot
Definition
merlot.h:7
Paperdink_Merlot::has_color
bool has_color
Definition
merlot.h:9
Paperdink_Merlot::color
uint16_t color
Definition
merlot.h:11
Paperdink_Merlot::has_greyscale
bool has_greyscale
Definition
merlot.h:10
Paperdink_Merlot::disable_display
int8_t disable_display() override
Definition
merlot.cpp:11
Paperdink_Merlot::enable_display
int8_t enable_display() override
Definition
merlot.cpp:3
Paperdink_Merlot::epd
GxEPD2_3C< GxEPD2_420c_Z21, GxEPD2_420c_Z21::HEIGHT > epd
Definition
merlot.h:13
EPD_CS
#define EPD_CS
Definition
pin_assignment.h:18
EPD_BUSY
#define EPD_BUSY
Definition
pin_assignment.h:20
EPD_RST
#define EPD_RST
Definition
pin_assignment.h:22
EPD_DC
#define EPD_DC
Definition
pin_assignment.h:19
src
devices
merlot.h
Generated by
1.12.0