Fixing orientation

This commit is contained in:
Clément Grennerat
2025-09-14 12:48:57 +02:00
parent 58bd75f00f
commit aad3bc2280
4 changed files with 56 additions and 55 deletions
+2 -2
View File
@@ -28,8 +28,8 @@
#define SPI1_BASEDR_ADR SPI1_BASE //adresse du reg SPI3 DR pour acces 8 bits (defs std permet accès 16bits seulement)
#define LCD_SCREEN_HEIGHT 470 // ST7365 is 480 (aligned at the origin)
#define LCD_SCREEN_WIDTH 282 // ST7365 is 320 (centered, offset = 19)
#define LCD_SCREEN_HEIGHT 282 // ST7365 is 320 (centered, offset = 19)
#define LCD_SCREEN_WIDTH 470 // ST7365 is 480 (aligned at the left, offset = 10)
//CHIP SELECT PIN AND PORT, STANDARD GPIO
#define LCD_CS_PIN (1<<8)