x

Dependents:   20180621_FT813

Fork of FT810 by Curtis Mattull

Files at this revision

API Documentation at this revision

Comitter:
cpm219
Date:
Wed Sep 07 22:22:32 2016 +0000
Parent:
0:2d0ef4830603
Child:
2:293363bbeeda
Commit message:
latest version

Changed in this revision

src/FT_GPU_Hal.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/src/FT_GPU_Hal.cpp	Wed Sep 07 21:53:53 2016 +0000
+++ b/src/FT_GPU_Hal.cpp	Wed Sep 07 22:22:32 2016 +0000
@@ -102,12 +102,12 @@
     DispPCLK = my_DispPCLK;
     Wr8(  REG_PCLK, DispPCLK);//after this display is visible on the LCD
 
-    Wr16(  REG_PWM_HZ, 10000);
+    Wr16(  REG_PWM_HZ, 250);
 
 #ifdef Inv_Backlite               // turn on backlite
     Wr16(  REG_PWM_DUTY, 0);
 #else
-    Wr16(  REG_PWM_DUTY, 100);
+    Wr16(  REG_PWM_DUTY, 128);
 #endif
 
     Wr8(  REG_GPIO_DIR,0x82);  //| Rd8( REG_GPIO_DIR));