configured for beyondtek displays
Fork of FT800_3 by
Diff: FT_Gpu_Hal.cpp
- Revision:
- 4:363ec27cdfaa
- Parent:
- 3:392d2c733c68
- Child:
- 6:16e22c789f7d
--- a/FT_Gpu_Hal.cpp Fri Sep 19 15:56:15 2014 +0000 +++ b/FT_Gpu_Hal.cpp Sat Sep 20 11:35:43 2014 +0000 @@ -90,11 +90,12 @@ DispVSync1 = my_DispVSync1; Wr16( REG_VSYNC1, DispVSync1); DispSwizzle = my_DispSwizzle; - //Wr8( REG_SWIZZLE, FT_DispSwizzle); + Wr8( REG_SWIZZLE, DispSwizzle); DispPCLKPol = my_DispPCLKPol; - //Wr8( REG_PCLK_POL, FT_DispPCLKPol); + Wr8( REG_PCLK_POL, DispPCLKPol); + Wr8( REG_CSPREAD, 1); DispPCLK = my_DispPCLK; - //Wr8( REG_PCLK,FT_DispPCLK);//after this display is visible on the LCD + Wr8( REG_PCLK, DispPCLK);//after this display is visible on the LCD Wr16( REG_PWM_HZ, 1000);