Closed geiseri closed 3 years ago
Thanks for the changes. I'll have a look
Just confirming, these changes worked perfectly on my end. :)
Hi, I'm trying to add support for the st7735 display But I'm getting the following error: platfor not found: 'display.st7735'
What is the correct configuration?
I added the two directories axp192 and st7735 in esphome / custom_component, I also restarted Home Assistant but still get the error.
Can you tell me how to do it?
Thanks.
Hiya, So it looks like there were some breaking changes upstream for the display. One was from PR https://github.com/esphome/esphome/pull/988 which "changed SPI_DEVICE_SCHEMA to a function, like i2c". The second is with
draw_absolute_pixel_internal
. It seems that the PR https://github.com/esphome/esphome/pull/1100 changed the internal color format from RGB565 to RGB888. I updated that method, but that broke theST77XX_*
color defines. I kinda hacked around it to preserve behavior, but I am wondering if it makes sense, since they were only included because mere mortals cannot do RGB565 conversions in their heads ;)Let me know if you need any changes on this. I am loving my M5Stick-C!!