Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
964 stars 227 forks source link

Configurable display orientation #471

Open dl9sec opened 3 years ago

dl9sec commented 3 years ago

Hi,

I am using a BLUETFT (actually red) with an integrated SD slot.

The display is mounted to have the SD slot on the upper side. Unfortunately in the default configuration the display is now up side down for me.

I couldn't find a configuration parameter to rotate the display by 180°, but found the "tft->setRotation ( 1 )" which I changed to "tft->setRotation ( 3 )" to rotate the display in main.cpp.

It would be great to have the display rotation configurable by a parameter.

Thanks in advance.

Regards, Thorsten