-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESPHome screen on templates might be wrong #40
Comments
Do you have the cyd with two USB ports by any chance? @jonnybergdahl is the person who contributed this example, so maybe he has some input |
Yes, I do. One is USB type C and the other is USB micro B (I think). Want me to share a picture of the board? Is there a way to check the hardware connected to the board? BTW, I have a template combining most of the examples into one single template, is that something you'll want me to create a PR with? |
Yes it seems to be a slightly different revision, I'm unclear what the connection is to the original cyd if it's a knockoff or a new version, but it's display is definitely a little different. So I'd imagine the existing config works for the single micro USB CYD, but your config is needed for this two USB version. You'll have to excuse my ignorance, but I really know nothing about esphome yet so it's I don't have any opinion on combing the template What are the advantages of it? |
Raised #41 for a wider discussion around this type of CYD |
The advantage of having a complete template is that you can test various features (LDR, web server, RGB, display, etc) by compiling a single template. I'm not an expert either BTW I just tested it 😛 |
I have created a PR with the template just in case you may want to add it into the repo #42 |
Taking a closer look at the board I noticed another difference, my board does not come with an external flash memory chip (unpopulated on the board) |
Just got one (CYD) esphome ili9342 does work better 9341 did not fill the screen and flickerd, Only done hello world so far but ready to expand ! |
Any idea why image is just using 2 colors?
|
@Grey-Lancaster try setting the display:
- platform: ili9xxx
id: esp_display
model: ILI9342
spi_id: spi_tft
cs_pin: GPIO15
dc_pin: GPIO2
rotation: 270 |
Thanks, this works for me "basically" for text, but images are bland. Actually I think the contrast may be too high ?
|
Hey! Thanks for sharing this.
I have tested the ESPHome templates and there seems to be an error on the display used. I changed the model to be
ILI9342
as theILI9341
did not work on my board (flickering a lot and not complete fill of the screen).I also noticed that even when changing the model the color order instead of RGB the
ILI9342
seems to be BGR.Let me know if this is something you'll want me to add in the templates.
Cheers.
The text was updated successfully, but these errors were encountered: