mirror of
https://github.com/esphome/esphome.git
synced 2026-10-14 02:02:51 +00:00
Note that the custom init sequence must end with a 0 command
This commit is contained in:
@@ -58,6 +58,7 @@ class ILI9XXXDisplay : public display::DisplayBuffer,
|
||||
}
|
||||
}
|
||||
|
||||
// `sequence` is a PROGMEM table that must end with a 0 command.
|
||||
void add_init_sequence(const uint8_t *sequence) { this->extra_init_sequence_ = sequence; }
|
||||
void set_dc_pin(GPIOPin *dc_pin) { dc_pin_ = dc_pin; }
|
||||
float get_setup_priority() const override;
|
||||
|
||||
Reference in New Issue
Block a user