8 #ifdef USE_ESP32_FRAMEWORK_ARDUINO 24 const uint8_t
LUT2[16] = {0xAA, 0xA9, 0xA6, 0xA5, 0x9A, 0x99, 0x96, 0x95,
25 0x6A, 0x69, 0x66, 0x65, 0x5A, 0x59, 0x56, 0x55};
26 const uint8_t
LUTW[16] = {0xFF, 0xFE, 0xFB, 0xFA, 0xEF, 0xEE, 0xEB, 0xEA,
27 0xBF, 0xBE, 0xBB, 0xBA, 0xAF, 0xAE, 0xAB, 0xAA};
28 const uint8_t
LUTB[16] = {0xFF, 0xFD, 0xF7, 0xF5, 0xDF, 0xDD, 0xD7, 0xD5,
29 0x7F, 0x7D, 0x77, 0x75, 0x5F, 0x5D, 0x57, 0x55};
31 const uint8_t
pixelMaskLUT[8] = {0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80};
35 {{0, 1, 1, 0, 0, 1, 1, 0, 0},
36 {0, 1, 2, 1, 1, 2, 1, 0, 0},
37 {1, 1, 1, 2, 2, 1, 0, 0, 0},
38 {0, 0, 0, 1, 1, 1, 2, 0, 0},
39 {2, 1, 1, 1, 2, 1, 2, 0, 0},
40 {2, 2, 1, 1, 2, 1, 2, 0, 0},
41 {1, 1, 1, 2, 1, 2, 2, 0, 0},
42 {0, 0, 0, 0, 0, 0, 2, 0, 0}},
44 {{0, 0, 0, 0, 0, 0, 0, 1, 0},
45 {0, 0, 0, 2, 2, 2, 1, 1, 0},
46 {0, 0, 2, 1, 1, 2, 2, 1, 0},
47 {0, 1, 2, 2, 1, 2, 2, 1, 0},
48 {0, 0, 2, 1, 2, 2, 2, 1, 0},
49 {0, 2, 2, 2, 2, 2, 2, 1, 0},
50 {0, 0, 0, 0, 0, 2, 1, 2, 0},
51 {0, 0, 0, 2, 2, 2, 2, 2, 0}},
53 {{0, 0, 0, 0, 0, 2, 1, 1, 0},
54 {0, 0, 2, 1, 1, 1, 2, 1, 0},
55 {0, 2, 2, 2, 1, 1, 2, 1, 0},
56 {0, 0, 2, 2, 2, 1, 2, 1, 0},
57 {0, 0, 0, 0, 2, 2, 2, 1, 0},
58 {0, 0, 2, 1, 2, 1, 1, 2, 0},
59 {0, 0, 2, 2, 2, 1, 1, 2, 0},
60 {0, 0, 0, 0, 2, 2, 2, 2, 0}},
62 {{1, 0, 1, 0, 1, 1, 1, 0, 0},
63 {0, 0, 0, 1, 1, 1, 1, 0, 0},
64 {1, 1, 1, 1, 0, 2, 1, 0, 0},
65 {1, 1, 1, 2, 2, 1, 1, 0, 0},
66 {1, 1, 1, 1, 2, 2, 1, 0, 0},
67 {0, 1, 1, 1, 2, 2, 1, 0, 0},
68 {0, 0, 0, 0, 1, 1, 2, 0, 0},
69 {0, 0, 0, 0, 0, 1, 2, 0, 0}},
71 {{0, 0, 1, 1, 0, 1, 1, 1, 0},
72 {0, 1, 1, 1, 1, 2, 0, 1, 0},
73 {1, 2, 2, 0, 2, 1, 1, 1, 0},
74 {1, 1, 1, 2, 0, 1, 1, 2, 0},
75 {0, 1, 1, 1, 2, 0, 1, 2, 0},
76 {0, 0, 0, 1, 1, 2, 1, 2, 0},
77 {1, 1, 1, 2, 0, 2, 1, 2, 0},
78 {0, 0, 0, 0, 0, 0, 0, 0, 0}},
80 {{0, 0, 1, 1, 2, 1, 1, 1, 0},
81 {1, 1, 2, 2, 1, 2, 1, 1, 0},
82 {0, 1, 2, 2, 1, 1, 2, 1, 0},
83 {0, 0, 1, 1, 1, 1, 1, 2, 0},
84 {1, 2, 1, 2, 1, 1, 1, 2, 0},
85 {0, 1, 1, 1, 2, 0, 1, 2, 0},
86 {1, 1, 1, 2, 2, 2, 1, 2, 0},
87 {0, 0, 0, 0, 0, 0, 0, 0, 0}}};
131 void setup()
override;
253 #endif // USE_ESP32_FRAMEWORK_ARDUINO
float get_setup_priority() const override
void set_greyscale(bool greyscale)
int get_height_internal() override
GPIOPin * gpio0_enable_pin_
void set_cl_pin(InternalGPIOPin *cl)
InternalGPIOPin * display_data_2_pin_
void set_partial_updating(bool partial_updating)
void initialize_()
Allocate buffers.
void set_le_pin(InternalGPIOPin *le)
void draw_absolute_pixel_internal(int x, int y, Color color) override
void set_powerup_pin(GPIOPin *powerup)
bool read_power_status_()
void set_gpio0_enable_pin(GPIOPin *gpio0_enable)
void set_model(InkplateModel model)
InternalGPIOPin * display_data_1_pin_
void set_display_data_4_pin(InternalGPIOPin *data)
void set_gmod_pin(GPIOPin *gmod)
uint32_t full_update_every_
void clean_fast_(uint8_t c, uint8_t rep)
virtual uint8_t get_pin() const =0
InternalGPIOPin * display_data_4_pin_
void set_oe_pin(GPIOPin *oe)
InternalGPIOPin * cl_pin_
void set_spv_pin(GPIOPin *spv)
void set_vcom_pin(GPIOPin *vcom)
void set_display_data_1_pin(InternalGPIOPin *data)
InternalGPIOPin * le_pin_
void set_display_data_2_pin(InternalGPIOPin *data)
void set_wakeup_pin(GPIOPin *wakeup)
uint8_t get_temperature()
void set_display_data_3_pin(InternalGPIOPin *data)
void fill(Color color) override
InternalGPIOPin * display_data_0_pin_
const uint8_t pixelMaskLUT[8]
void dump_config() override
display::DisplayType get_display_type() override
void set_display_data_0_pin(InternalGPIOPin *data)
uint8_t * partial_buffer_2_
int get_width_internal() override
void set_ckv_pin(GPIOPin *ckv)
void set_display_data_7_pin(InternalGPIOPin *data)
void set_display_data_6_pin(InternalGPIOPin *data)
InternalGPIOPin * display_data_6_pin_
uint8_t * partial_buffer_
bool get_partial_updating()
Implementation of SPI Controller mode.
size_t get_buffer_length_()
InternalGPIOPin * display_data_7_pin_
void set_display_data_5_pin(InternalGPIOPin *data)
const uint8_t pixelMaskGLUT[2]
InternalGPIOPin * display_data_3_pin_
void hscan_start_(uint32_t d)
const uint8_t waveform3BitAll[6][8][9]
This Class provides the methods to read/write bytes from/to an i2c device.
void set_sph_pin(GPIOPin *sph)
uint8_t get_panel_state()
void set_full_update_every(uint32_t full_update_every)
InternalGPIOPin * display_data_5_pin_
uint32_t partial_updates_