Some init doc
This commit is contained in:
@@ -41,17 +41,37 @@ void touchPanelRead();
|
|||||||
//GT911 param table
|
//GT911 param table
|
||||||
const uint8_t GT911_Cfg[]= //
|
const uint8_t GT911_Cfg[]= //
|
||||||
{
|
{
|
||||||
0x69, //ver 0x68
|
0x69, // ver 0x68
|
||||||
0xE0,0x01, //x 480 480X272
|
0xE0,0x01, // 0x8049 X output map : x 480
|
||||||
0x10,0x01, //y 272
|
0x10,0x01, // 0x8040 Y ouptut max : y 272
|
||||||
0x05, //pass max count
|
0x05, // 0x804C Touch number : GT911_MAX_TOUCH_POINTS
|
||||||
0x38, //bit4= xy change Int mode
|
0x38, // 0x804D Module switch 1 : bit4= xy change Int mode
|
||||||
0x00,
|
0x00, // 0x804E Module switch 2
|
||||||
0x02, //press ct
|
0x02, // 0x804F Shake_Count
|
||||||
0x48,
|
0x48, // 0x8050 Filter
|
||||||
0x28,0x0D,0x50,0x32,0x03,0x05,0x00,0x00,0x00,0x00,
|
0x28, // 0x8051 Larger touch
|
||||||
0x00,0x00,0x00,0x18,0x1A,0x1E,0x14,0x8A,0x2A,0x0C,
|
0x0D, // 0x8052 Noise reduction
|
||||||
0x30,0x38,0x31,0x0D,0x00,0x00,0x02,0xB9,0x03,0x2D,
|
0x50, // 0x8053 Screen touch level
|
||||||
|
0x32, // 0x8054 Screen touch leave
|
||||||
|
0x03, // 0x8055 Low power control
|
||||||
|
0x05, // 0x8056 Refresh rate
|
||||||
|
0x00, // 0x8057 X threshold
|
||||||
|
0x00, // 0x8058 Y threshold
|
||||||
|
0x00, // 0x8059 Reserved
|
||||||
|
0x00, // 0x805A Reserved
|
||||||
|
0x00, // 0x805B Space (top, bottom)
|
||||||
|
0x00, // 0x805B Space (left, right)
|
||||||
|
0x00, // 0x805D Mini filter
|
||||||
|
0x18, // 0x805E Strech R0
|
||||||
|
0x1A, // 0x805F Strech R1
|
||||||
|
0x1E, // 0x8060 Strech R2
|
||||||
|
0x14, // 0x8061 Strech RM
|
||||||
|
0x8A, // 0x8062 Drv groupA num
|
||||||
|
0x2A, // 0x8063 Drv groupB num
|
||||||
|
0x0C, // 0x8064 Sensor num
|
||||||
|
0x30, // 0x8065 FreqA factor
|
||||||
|
0x38, // 0x8065 FreqB factor
|
||||||
|
0x31,0x0D,0x00,0x00,0x02,0xB9,0x03,0x2D,
|
||||||
0x00,0x00,0x00,0x00,0x00,0x03,0x64,0x32,0x00,0x00,
|
0x00,0x00,0x00,0x00,0x00,0x03,0x64,0x32,0x00,0x00,
|
||||||
0x00,0x1D,0x41,0x94,0xC5,0x02,0x07,0x00,0x00,0x04,
|
0x00,0x1D,0x41,0x94,0xC5,0x02,0x07,0x00,0x00,0x04,
|
||||||
0xA5,0x1F,0x00,0x94,0x25,0x00,0x88,0x2B,0x00,0x7D,
|
0xA5,0x1F,0x00,0x94,0x25,0x00,0x88,0x2B,0x00,0x7D,
|
||||||
|
|||||||
Reference in New Issue
Block a user