搞定了。呵呵。
- //(1).reset first
- //(2).init normal reg
- {0x0001,0x0000},
- {0x0002,0x0700},
- {0x0003,0x0008},//here we modify @ 091124 14:20
- {0x0006,0x0000},
- {0x0008,0x0503},
- {0x0009,0x0001},
- {0x000b,0x0010},
- {0x000C,0x0000},//here we modify @ 20091123
- {0x000F,0x0000},
- {0x0010,0x0012},
- {0x0011,0x0202},
- {0x0012,0x0300},
- {0x0020,0x001E},
- {0x0021,0x0202},
- {0x0022,0x0100},
- {0x0090,0x0000},
- {DELAY_FLAG, 110},
- //################# void Gamma_Set(void) ####################//
- //(3).init gamma reg
- {0x0300,0x0101}, //0101
- {0x0301,0x0B27}, //0b26
- {0x0302,0x152a}, //1329
- {0x0303,0x2a15}, //2913
- {0x0304,0x270B}, //260b
- {0x0305,0x0101}, //
- {0x0306,0x1205}, //1804
- {0x0307,0x0512}, //0418
- {0x0308,0x0005}, //0205
- {0x0309,0x0003},//0303
- {0x030A,0x0804}, //0e05
- {0x030B,0x0800}, //0d01
- {0x030C,0x0005}, //010d
- {0x030D,0x0405}, //050e
- {DELAY_FLAG, 110},
- //(4).init base image reg
- {0x0400,/*0x1D00*/0x3100},
- {0x0401,0x0000},
- {0x0404,0x0000},
- {0x0606,0x0000},
- {0x06F0,0x0001},
-
- {DELAY_FLAG, 110},
- {0x0007,0x0173},
-
- {DELAY_FLAG, 110},
- //(5).set a base address reg
-
- {END_FLAG, END_FLAG}
复制代码 |