ESPHome 2025.5.0
Loading...
Searching...
No Matches
st7567_i2c.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome {
8namespace 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
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:133
void command(uint8_t value) override
void write_display_data() override
enum esphome::st7567_i2c::I2CST7567::ErrorCode NONE
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7