ESPHome  2024.12.2
st7567_i2c.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 namespace esphome {
8 namespace st7567_i2c {
9 
11  public:
12  void setup() override;
13  void dump_config() override;
14 
15  protected:
16  void command(uint8_t value) override;
17  void write_display_data() override;
18 
19  enum ErrorCode { NONE = 0, COMMUNICATION_FAILED } error_code_{NONE};
20 };
21 
22 } // namespace st7567_i2c
23 } // namespace esphome
void command(uint8_t value) override
Definition: st7567_i2c.cpp:37
void write_display_data() override
Definition: st7567_i2c.cpp:39
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
enum esphome::st7567_i2c::I2CST7567::ErrorCode NONE
This Class provides the methods to read/write bytes from/to an i2c device.
Definition: i2c.h:133