Nice work. Is that the plastic screen protector still on the front
1 Like
Are you supposed to remove them?
Yes
Sorryโฆ
Have there been any recent changes to this (or integration now into ESPHome finalised).
Iโve been using the code above, but now getting an error on 2024.12.0b2
src/esphome/components/i80/i80_esp_idf.cpp:94:16: error: 'esphome::i80::I80Delegate* esphome::i80::I80BusIdf::get_delegate(esphome::GPIOPin*, uint32_t)' marked 'override', but does not override
94 | I80Delegate *get_delegate(GPIOPin *cs_pin, uint32_t data_rate) override {
| ^~~~~~~~~~~~
src/esphome/components/i80/i80_esp_idf.cpp: In member function 'virtual void esphome::i80::I80Component::setup()':
src/esphome/components/i80/i80_esp_idf.cpp:123:75: error: invalid new-expression of abstract class type 'esphome::i80::I80BusIdf'
123 | auto *bus = new I80BusIdf(this->wr_pin_, this->dc_pin_, this->data_pins_); // NOLINT
| ^
src/esphome/components/i80/i80_esp_idf.cpp:73:7: note: because the following virtual functions are pure within 'esphome::i80::I80BusIdf':
73 | class I80BusIdf : public I80Bus {
| ^~~~~~~~~
In file included from src/esphome/components/i80/i80_esp_idf.cpp:1:
src/esphome/components/i80/i80_component.h:45:24: note: 'virtual esphome::i80::I80Delegate* esphome::i80::I80Bus::get_delegate(esphome::GPIOPin*, unsigned int)'
45 | virtual I80Delegate *get_delegate(GPIOPin *cs_pin, unsigned int data_rate) = 0;
| ^~~~~~~~~~~~
*** [.pioenvs/alarmpanelpro/src/esphome/components/i80/i80_esp_idf.cpp.o] Error 1
Recent? No. But the gist linked above was out of date, specifically the external components block:
external_components:
- source: github://EmbedMe-io/embedme
components: [i80, io_bus, ili9xxx, spi]
refresh: 1d
2 Likes