6 namespace ssd1322_spi {
8 static const char *
const TAG =
"ssd1322_spi";
11 ESP_LOGCONFIG(TAG,
"Setting up SPI SSD1322...");
22 LOG_DISPLAY(
"",
"SPI SSD1322",
this);
23 ESP_LOGCONFIG(TAG,
" Model: %s", this->
model_str_());
24 LOG_PIN(
" CS Pin: ", this->
cs_);
25 LOG_PIN(
" DC Pin: ", this->
dc_pin_);
27 ESP_LOGCONFIG(TAG,
" Initial Brightness: %.2f", this->
brightness_);
28 LOG_UPDATE_INTERVAL(
this);
virtual void digital_write(bool value)=0
size_t get_buffer_length_()
void data(uint8_t value) override
void spi_setup() override
void write_display_data() override
void write_byte(uint8_t data)
const char * model_str_()
void dump_config() override
void command(uint8_t value) override
void write_array(const uint8_t *data, size_t length)
Implementation of SPI Controller mode.
void IRAM_ATTR HOT delay(uint32_t ms)