Xinyuan-LilyGO / T-Display-S3

MIT License
813 stars 201 forks source link

T-Display-S3 Flip Clock Sample #273

Closed oldbug62 closed 1 month ago

oldbug62 commented 3 months ago

Hello,

Is it possible to simply rotate the screen 180 degrees in the program?

lewisxhe commented 3 months ago
Range: 0 ~ 3
 tft.setRotation(1);
oldbug62 commented 3 months ago

@lewisxhe

thanks for your answer where exactly do i have to insert it and how should it be configured?

/ LCD CONFIG /

define EXAMPLE_LCD_PIXEL_CLOCK_HZ (6528000) //(10 1000 1000)

// The pixel number in horizontal and vertical

define EXAMPLE_LCD_H_RES 320

define EXAMPLE_LCD_V_RES 170

define LVGL_LCD_BUF_SIZE (EXAMPLE_LCD_H_RES * EXAMPLE_LCD_V_RES)

define EXAMPLE_PSRAM_DATA_ALIGNMENT 64

define Range: 0 ~ 3

define tft.setRotation(0);

lewisxhe commented 3 months ago

After tft.init()

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 14 days since being marked as stale.