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