Char font '~' changed to block for making Big number font

Dependents:   Real-time_Bus_Arrival_Alarm WaterLogger

Fork of SeeedGrayOLED by Dan Cohen

Files at this revision

API Documentation at this revision

Comitter:
hkjung
Date:
Wed Aug 26 05:10:45 2015 +0000
Parent:
1:05a64dcb7603
Commit message:
Char font '~' changed to block for making the big number font

Changed in this revision

SeeedGrayOLED.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SeeedGrayOLED.cpp	Sat Dec 20 06:50:25 2014 +0000
+++ b/SeeedGrayOLED.cpp	Wed Aug 26 05:10:45 2015 +0000
@@ -130,7 +130,7 @@
   {0x00,0x08,0x36,0x41,0x00,0x00,0x00,0x00},
   {0x00,0x00,0x7F,0x00,0x00,0x00,0x00,0x00},
   {0x00,0x41,0x36,0x08,0x00,0x00,0x00,0x00},
-  {0x00,0x02,0x01,0x01,0x02,0x01,0x00,0x00},
+  {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff},//{0x00,0x02,0x01,0x01,0x02,0x01,0x00,0x00}, // '~' => block
   {0x00,0x02,0x05,0x05,0x02,0x00,0x00,0x00} 
 };
 
@@ -352,10 +352,10 @@
         setHorizontalMode();
     }
 
-    for(int i=0;i<bytes;i++)
+    for(int i=0;i<bytes;i++)    
     {
 
-    for(int j=0;j<8;j=j+2) 
+    for(int j=0;j<8;j=j+2)     
     {
         char c=0x00;
         char bit1=bitmaparray[i] <<  j    & 0x80;