|
|
@@ -13,13 +13,13 @@
|
|
|
|
|
|
#define _TFTWIDTH 128//the REAL W resolution of the TFT
|
|
|
#define _TFTHEIGHT 128//the REAL H resolution of the TFT
|
|
|
- //#define _GRAMWIDTH 128
|
|
|
-// #define _GRAMHEIGH 160//Heh? Yes! My display uses offset!
|
|
|
-// #define _GRAMSIZE _GRAMWIDTH * _GRAMHEIGH //
|
|
|
+ #define _GRAMWIDTH 128
|
|
|
+ #define _GRAMHEIGH 160//Heh? Yes! My display uses offset!
|
|
|
+ #define _GRAMSIZE _GRAMWIDTH * _GRAMHEIGH //
|
|
|
#define __COLORSPC 1// 1:GBR - 0:RGB
|
|
|
#define __GAMMASET3 //uncomment for another gamma (1,2,3)
|
|
|
- //#define __OFFSET 32//this is the offset of my display, 160 - 128 = 32
|
|
|
- #define __OFFSET 0//this is the offset of my display, 160 - 128 = 32
|
|
|
+ #define __OFFSET 32//this is the offset of my display, 160 - 128 = 32
|
|
|
+ //#define __OFFSET 0//this is the offset of my display, 160 - 128 = 32
|
|
|
|
|
|
|
|
|
#include <SPI.h>
|