Aipel3dbcn / Marlin-2.0.6-Sapphire-Plus

Marlin 2.0.6 For Sapphire Plus with Filalment runout sensor and power loss ewcovery
0 stars 1 forks source link

Display upside down on Sapphire Plus V3 #1

Open Karlostavitch1 opened 3 years ago

Karlostavitch1 commented 3 years ago

I have tried both: updating tft_lvgl_configuration.h with #define GRAPHICAL_TFT_ROTATE_180 (this just seems to flip the screen horizontal, so the text order is also backwards as well as the screen being upside down.) and also updating Configuration_adv.h with #define GRAPHICAL_TFT_ROTATE_180 (This doesn't seem to do anything)

Gitdad commented 3 years ago

just figured it out. the TFT_ROTATION needs to be in tft_io.h instead of tft_lvgl_configuration.h. I think you need to comment it back out of tft_lvgl_configuration.h

in tft_io.h it looks like this and it should already exist in the file, it just needs to be updated.

// TFT_ROTATION is user configurable
#ifndef TFT_ROTATION
  #define TFT_ROTATION TFT_ROTATE_180
#endif