Working screen coordinates calibration template
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user