6 namespace ssd1351_spi {
8 static const char *
const TAG =
"ssd1351_spi";
11 ESP_LOGCONFIG(TAG,
"Setting up SPI SSD1351...");
22 LOG_DISPLAY(
"",
"SPI SSD1351",
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
void write_display_data() override
void spi_setup() override
const char * model_str_()
void write_byte(uint8_t data)
size_t get_buffer_length_()
void dump_config() override
void write_array(const uint8_t *data, size_t length)
void data(uint8_t value) override
Implementation of SPI Controller mode.
void command(uint8_t value) override
void IRAM_ATTR HOT delay(uint32_t ms)