8static const char *
const TAG =
"ssd1306_spi";
11 ESP_LOGCONFIG(TAG,
"Running setup");
19 LOG_DISPLAY(
"",
"SPI SSD1306",
this);
20 ESP_LOGCONFIG(TAG,
" Model: %s", this->
model_str_());
21 LOG_PIN(
" CS Pin: ", this->
cs_);
22 LOG_PIN(
" DC Pin: ", this->
dc_pin_);
30 " Inverted Color: %s",
33 LOG_UPDATE_INTERVAL(
this);
void feed_wdt(uint32_t time=0)
virtual void digital_write(bool value)=0
void spi_setup() override
void write_byte(uint8_t data)
void write_array(const uint8_t *data, size_t length)
int get_width_internal() override
const char * model_str_()
size_t get_buffer_length_()
int get_height_internal() override
void write_display_data() override
void dump_config() override
void command(uint8_t value) override
Providing packet encoding functions for exchanging data with a remote host.
Application App
Global storage of Application pointer - only one Application can exist.