Finish touch config table
This commit is contained in:
@@ -42,7 +42,7 @@ void touchPanelRead();
|
||||
#define GT911_CFG_NUMER 0x69
|
||||
|
||||
//GT911 param table
|
||||
const uint8_t GT911_Cfg[]= //
|
||||
const uint8_t GT911_Cfg[]=
|
||||
{
|
||||
GT911_CFG_NUMER, // 0x8047 Config version
|
||||
0xE0,0x01, // 0x8048 X output map : x 480
|
||||
@@ -112,18 +112,118 @@ const uint8_t GT911_Cfg[]= //
|
||||
0x7D, // 0x808C Hopping Seg4 normalize
|
||||
0x33, // 0x808D Hopping Seg4 factor
|
||||
0x00, // 0x808E Reserved
|
||||
0x74,0x3C,0x00,0x74,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x18,0x16,0x14,0x12,0x10,0x0E,0x0C,0x0A,
|
||||
0x08,0x06,0x04,0x02,0xFF,0xFF,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x24,0x22,0x21,0x20,0x1F,0x1E,0x1D,0x1C,
|
||||
0x18,0x16,0x13,0x12,0x10,0x0F,0x0A,0x08,0x06,0x04,
|
||||
0x02,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||
0x00,0x00,0x00,0x00,
|
||||
0x74, // 0x808F Hopping Seg5 normalize
|
||||
0x3C, // 0x8090 Hopping Seg5 factor
|
||||
0x00, // 0x8091 Reserved
|
||||
0x74, // 0x8092 Hopping Seg6 normalize
|
||||
0x00, // 0x8093 Key1
|
||||
0x00, // 0x8094 Key2
|
||||
0x00, // 0x8095 Key3
|
||||
0x00, // 0x8096 Key4
|
||||
0x00, // 0x8097 Key area
|
||||
0x00, // 0x8098 Key touch level
|
||||
0x00, // 0x8099 Key leave level
|
||||
0x00, // 0x809A Key sens
|
||||
0x00, // 0x809B Key sens
|
||||
0x00, // 0x809C Key restrain
|
||||
0x00, // 0x809D Key restrain time
|
||||
0x00, // 0x809E Large gesture touch
|
||||
0x00, // 0x809F Reserved
|
||||
0x00, // 0x80A0 Reserved
|
||||
0x00, // 0x80A1 Hotknot noise map
|
||||
0x00, // 0x80A2 Link threshold
|
||||
0x00, // 0x80A3 Pxy threshold
|
||||
0x00, // 0x80A4 GHot dump shift
|
||||
0x00, // 0x80A5 GHot rx gain
|
||||
0x00, // 0x80A6 Freg gain
|
||||
0x00, // 0x80A7 Freg gain 1
|
||||
0x00, // 0x80A8 Freg gain 2
|
||||
0x00, // 0x80A9 Freg gain 3
|
||||
0x00, // 0x80AA Reserved
|
||||
0x00, // 0x80AB Reserved
|
||||
0x00, // 0x80AC Reserved
|
||||
0x00, // 0x80AD Reserved
|
||||
0x00, // 0x80AE Reserved
|
||||
0x00, // 0x80AF Reserved
|
||||
0x00, // 0x80B0 Reserved
|
||||
0x00, // 0x80B1 Reserved
|
||||
0x00, // 0x80B2 Reserved
|
||||
0x00, // 0x80B3 Combine dis
|
||||
0x00, // 0x80B4 Split set
|
||||
0x00, // 0x80B5 Reserved
|
||||
0x00, // 0x80B6 Reserved
|
||||
0x18, // 0x80B7 Sensor CH0
|
||||
0x16, // 0x80B8 Sensor CH1
|
||||
0x14, // 0x80B9 Sensor CH2
|
||||
0x12, // 0x80BA Sensor CH3
|
||||
0x10, // 0x80BB Sensor CH4
|
||||
0x0E, // 0x80BC Sensor CH5
|
||||
0x0C, // 0x80BD Sensor CH6
|
||||
0x0A, // 0x80BE Sensor CH7
|
||||
0x08, // 0x80BF Sensor CH8
|
||||
0x06, // 0x80C0 Sensor CH9
|
||||
0x04, // 0x80C1 Sensor CH10
|
||||
0x02, // 0x80C2 Sensor CH11
|
||||
0xFF, // 0x80C3 Sensor CH12
|
||||
0xFF, // 0x80C4 Sensor CH13
|
||||
0x00, // 0x80C5 Reserved
|
||||
0x00, // 0x80C6 Reserved
|
||||
0x00, // 0x80C7 Reserved
|
||||
0x00, // 0x80C8 Reserved
|
||||
0x00, // 0x80C9 Reserved
|
||||
0x00, // 0x80CA Reserved
|
||||
0x00, // 0x80CB Reserved
|
||||
0x00, // 0x80CC Reserved
|
||||
0x00, // 0x80CD Reserved
|
||||
0x00, // 0x80CE Reserved
|
||||
0x00, // 0x80CF Reserved
|
||||
0x00, // 0x80D0 Reserved
|
||||
0x00, // 0x80D1 Reserved
|
||||
0x00, // 0x80D2 Reserved
|
||||
0x00, // 0x80D3 Reserved
|
||||
0x00, // 0x80D4 Reserved
|
||||
0x24, // 0x80D5 Driver CH0
|
||||
0x22, // 0x80D6 Driver CH1
|
||||
0x21, // 0x80D7 Driver CH2
|
||||
0x20, // 0x80D8 Driver CH3
|
||||
0x1F, // 0x80D9 Driver CH4
|
||||
0x1E, // 0x80DA Driver CH5
|
||||
0x1D, // 0x80DB Driver CH6
|
||||
0x1C, // 0x80DC Driver CH7
|
||||
0x18, // 0x80DD Driver CH8
|
||||
0x16, // 0x80DE Driver CH9
|
||||
0x13, // 0x80DF Driver CH10
|
||||
0x12, // 0x80E0 Driver CH11
|
||||
0x10, // 0x80E1 Driver CH12
|
||||
0x0F, // 0x80E2 Driver CH13
|
||||
0x0A, // 0x80E3 Driver CH14
|
||||
0x08, // 0x80E4 Driver CH15
|
||||
0x06, // 0x80E5 Driver CH16
|
||||
0x04, // 0x80E6 Driver CH17
|
||||
0x02, // 0x80E7 Driver CH18
|
||||
0x00, // 0x80E8 Driver CH19
|
||||
0xFF, // 0x80E9 Driver CH20
|
||||
0xFF, // 0x80EA Driver CH21
|
||||
0xFF, // 0x80EB Driver CH22
|
||||
0xFF, // 0x80EC Driver CH23
|
||||
0xFF, // 0x80ED Driver CH24
|
||||
0xFF, // 0x80EE Driver CH25
|
||||
0x00, // 0x80EF Reserved
|
||||
0x00, // 0x80F0 Reserved
|
||||
0x00, // 0x80F1 Reserved
|
||||
0x00, // 0x80F2 Reserved
|
||||
0x00, // 0x80F3 Reserved
|
||||
0x00, // 0x80F4 Reserved
|
||||
0x00, // 0x80F5 Reserved
|
||||
0x00, // 0x80F6 Reserved
|
||||
0x00, // 0x80F7 Reserved
|
||||
0x00, // 0x80F8 Reserved
|
||||
0x00, // 0x80F9 Reserved
|
||||
0x00, // 0x80FA Reserved
|
||||
0x00, // 0x80FB Reserved
|
||||
0x00, // 0x80FC Reserved
|
||||
0x00, // 0x80FD Reserved
|
||||
0x00, // 0x80FE Reserved
|
||||
};
|
||||
|
||||
//I2C
|
||||
|
||||
Reference in New Issue
Block a user