Skip to content

Commit

Permalink
fix: Rotate display 90 degrees
Browse files Browse the repository at this point in the history
  • Loading branch information
bill88t committed Aug 5, 2024
1 parent b5d4bbc commit f0c3f59
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ports/espressif/boards/lilygo_twatch_s3/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@
#define DISPLAY_ROW_OFFSET 0

// Memory Data Access Control & // Vertical Scroll Start Address
#define DISPLAY_MADCTL (TFT_MADCTL_MX)
#define DISPLAY_VSCSAD 0
#define DISPLAY_MADCTL (TFT_MADCTL_MX | TFT_MADCTL_MY | TFT_MADCTL_MV)
#define DISPLAY_VSCSAD 80
// Display rotated 90 degrees

#define DISPLAY_TITLE "T-Watch-S3"

Expand Down

0 comments on commit f0c3f59

Please sign in to comment.