808

Dependents:   Chromatograph_Mobile

Revision:
3:e9de02606330
Parent:
2:293363bbeeda
Child:
4:03932ce8a04e
diff -r 293363bbeeda -r e9de02606330 src/FT_GPU_Hal.cpp
--- a/src/FT_GPU_Hal.cpp	Wed Sep 07 22:39:19 2016 +0000
+++ b/src/FT_GPU_Hal.cpp	Wed Sep 07 23:11:34 2016 +0000
@@ -104,11 +104,11 @@
 
     Wr16(  REG_PWM_HZ, 5000);
 
-//#ifdef Inv_Backlite               // turn on backlite
-//    Wr16(  REG_PWM_DUTY, 0);
-//#else
+#ifdef Inv_Backlite               // turn on backlite
+    Wr16(  REG_PWM_DUTY, 0);
+#else
     Wr16(  REG_PWM_DUTY, 100);
-//#endif
+#endif
 
     Wr8(  REG_GPIO_DIR,0x82);  //| Rd8( REG_GPIO_DIR));
     Wr8(  REG_GPIO,0x080);     //| Rd8( REG_GPIO));
@@ -120,8 +120,8 @@
     Wr16(  REG_PCLK, DispPCLK);
 
     /* Touch configuration - configure the resistance value to 1200 - this value is specific to customer requirement and derived by experiment */
-//    Wr16(  REG_TOUCH_RZTHRESH,2400);
-    Wr16(  REG_TOUCH_RZTHRESH,0xFFFF);
+    Wr16(  REG_TOUCH_RZTHRESH,2400);
+//    Wr16(  REG_TOUCH_RZTHRESH,0xFFFF);
 
 
 }