Working screen coordinates calibration template

This commit is contained in:
Clément Grennerat
2025-09-14 01:39:24 +02:00
parent c28827a71f
commit 58bd75f00f
5 changed files with 32 additions and 36 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 320
#define LCD_SCREEN_WIDTH 480
#define LCD_SCREEN_HEIGHT 470 // ST7365 is 480 (aligned at the origin)
#define LCD_SCREEN_WIDTH 282 // ST7365 is 320 (centered, offset = 19)
//CHIP SELECT PIN AND PORT, STANDARD GPIO
#define LCD_CS_PIN (1<<8)