Contrast not optimal

Fork of SB1602E by Tedd OKANO

Files at this revision

API Documentation at this revision

Comitter:
KStefan
Date:
Tue May 01 19:13:07 2018 +0000
Parent:
2:baf578069dfc
Commit message:
My mods...

Changed in this revision

SB1602E.cpp Show annotated file Show diff for this revision Revisions of this file
SB1602E.h Show annotated file Show diff for this revision Revisions of this file
--- a/SB1602E.cpp	Tue Apr 07 05:03:44 2015 +0000
+++ b/SB1602E.cpp	Tue May 01 19:13:07 2018 +0000
@@ -46,7 +46,7 @@
         delete  i2c_p;
 }
 
-#define     DEFAULT_CONTRAST    0x35
+#define     DEFAULT_CONTRAST    0x3F  //0x35
 
 void SB1602E::init( char *init_massage )
 {
--- a/SB1602E.h	Tue Apr 07 05:03:44 2015 +0000
+++ b/SB1602E.h	Tue May 01 19:13:07 2018 +0000
@@ -188,7 +188,8 @@
         Comm_InternalOscFrequency    = 0x14,
         Comm_ContrastSet             = 0x78,
         Comm_PwrIconContrast         = 0x5E,
-        Comm_FollowerCtrl            = 0x6A,
+        //Comm_FollowerCtrl            = 0x6A,
+        Comm_FollowerCtrl            = 0x6D,
         Comm_DisplayOnOff            = 0x0C,
         Comm_ClearDisplay            = 0x01,
         Comm_EntryModeSet            = 0x06,