Edzelf / Esp-radio

Internet radio based on Esp8266 and VS1053.
MIT License
619 stars 200 forks source link

Setting up the 128x160 display #210

Closed samand587 closed 2 years ago

samand587 commented 2 years ago

Dear author! This is the image the display displays. The display applied the recommended one in the project. How can this be fixed? Thanks!
IMG_20211104_132813

Edzelf commented 2 years ago

See the document. Search for "TFT library patches".

samand587 commented 2 years ago

Made changes to TFT_ILI9163C.cpp , nothing has changed- the screen is upside down, on the left there is a white stripe for a quarter of the screen. What else can I see? IMG_20211104_181031

samand587 commented 2 years ago

I won the white stripe. How can I rotate the screen?

Edzelf commented 2 years ago

Line 1843: tft.setRotation ( 3 ) ; // Use landscape format I am not sure, but I think the parameter should be 1 in your case.

samand587 commented 2 years ago

Line 1825: tft.setRotation ( 1 ) Excellent solution! The question is closed. Thanks!