Paperd.Ink Library
0.0.5
Library for interacting with Paperd.Ink devices.
Toggle main menu visibility
Main Page
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
m
n
p
r
s
t
u
v
w
y
Functions
_
a
b
c
d
e
f
g
h
i
k
m
n
p
r
s
v
w
Variables
_
c
d
e
f
h
m
p
r
s
t
u
v
w
y
Enumerations
Enumerator
a
d
e
g
w
Related Symbols
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
y
Variables
a
c
d
e
l
p
r
s
t
u
w
y
Enumerations
Enumerator
Macros
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
Examples
▼
Paperd.Ink Library
►
Paperd.Ink Library for Arduino
►
Classes
▼
Files
▼
File List
▼
src
▼
devices
base.cpp
►
base.h
classic.cpp
►
classic.h
merlot.cpp
►
merlot.h
►
drivers
►
fonts
►
icons
►
ui
common.cpp
►
fonts.h
icons.h
paperdink.cpp
►
Paperdink.h
►
paperdink_common.h
►
pin_assignment.h
►
File Members
►
Examples
•
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
classic.h
Go to the documentation of this file.
1
#ifndef _PDINK_CLASSIC_H_
2
#define _PDINK_CLASSIC_H_
3
4
#include "
base.h
"
5
6
class
Paperdink_Classic
:
public
PaperdinkDeviceBaseClass
7
{
8
public
:
9
bool
has_color
=
false
;
10
bool
has_greyscale
=
true
;
11
uint16_t
color
=
GxEPD_BLACK
;
12
13
GxEPD2_BW<GxEPD2_420, GxEPD2_420::HEIGHT>
epd
=
GxEPD2_420
(
EPD_CS
,
EPD_DC
,
EPD_RST
,
EPD_BUSY
);
14
15
int8_t
enable_display
()
override
;
16
int8_t
disable_display
()
override
;
17
};
6
class
Paperdink_Classic
:
public
PaperdinkDeviceBaseClass
{
…
};
18
19
#endif
/* _PDINK_CLASSIC_H_ */
GxEPD_BLACK
#define GxEPD_BLACK
Definition
GxEPD2.h:19
base.h
GxEPD2_420
Definition
GxEPD2_420.h:21
GxEPD2_BW
Definition
GxEPD2_BW.h:83
PaperdinkDeviceBaseClass
Definition
base.h:13
Paperdink_Classic
Definition
classic.h:7
Paperdink_Classic::enable_display
int8_t enable_display() override
Definition
classic.cpp:3
Paperdink_Classic::disable_display
int8_t disable_display() override
Definition
classic.cpp:11
Paperdink_Classic::has_greyscale
bool has_greyscale
Definition
classic.h:10
Paperdink_Classic::color
uint16_t color
Definition
classic.h:11
Paperdink_Classic::has_color
bool has_color
Definition
classic.h:9
Paperdink_Classic::epd
GxEPD2_BW< GxEPD2_420, GxEPD2_420::HEIGHT > epd
Definition
classic.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
classic.h
Generated by
1.12.0