Paperd.Ink Library
0.0.5
Library for interacting with Paperd.Ink devices.
Loading...
Searching...
No Matches
classic.cpp
Go to the documentation of this file.
1
#include "
classic.h
"
2
3
int8_t
Paperdink_Classic::enable_display
()
4
{
5
PaperdinkDeviceBaseClass::enable_display
();
6
epd
.
init
();
7
8
return
0;
9
}
10
11
int8_t
Paperdink_Classic::disable_display
()
12
{
13
digitalWrite(
EPD_EN
, HIGH);
14
15
return
0;
16
}
GxEPD2_BW::init
void init(uint32_t serial_diag_bitrate=0)
Definition
GxEPD2_BW.h:195
PaperdinkDeviceBaseClass::enable_display
virtual int8_t enable_display()
Definition
base.cpp:20
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::epd
GxEPD2_BW< GxEPD2_420, GxEPD2_420::HEIGHT > epd
Definition
classic.h:13
classic.h
EPD_EN
#define EPD_EN
Definition
pin_assignment.h:21
src
devices
classic.cpp
Generated by
1.12.0