Toyomasa Watarai / BubbleDisplay

Dependents:   QDSP-6064-hello

Fork of BubbleDisplay by Michael Dushkoff

Files at this revision

API Documentation at this revision

Comitter:
mdu7078
Date:
Thu Mar 26 07:51:53 2015 +0000
Parent:
0:cc6e3bfecab4
Child:
2:3604f34e944b
Commit message:
Fixed the '_' character which was displaying as a '.' instead (0x08 vs 0x80).

Changed in this revision

bubble.cpp Show annotated file Show diff for this revision Revisions of this file
bubble.h Show annotated file Show diff for this revision Revisions of this file
--- a/bubble.cpp	Thu Mar 26 07:20:46 2015 +0000
+++ b/bubble.cpp	Thu Mar 26 07:51:53 2015 +0000
@@ -33,10 +33,10 @@
     _seg = 0;
     
     // Set the initial character values
-    _chrs[0] = dispTabl[0];
-    _chrs[1] = dispTabl[0];
-    _chrs[2] = dispTabl[0];
-    _chrs[3] = dispTabl[0];
+    _chrs[0] = dispTabl[' '];
+    _chrs[1] = dispTabl[' '];
+    _chrs[2] = dispTabl[' '];
+    _chrs[3] = dispTabl[' '];
 }
 
 /*
--- a/bubble.h	Thu Mar 26 07:20:46 2015 +0000
+++ b/bubble.h	Thu Mar 26 07:51:53 2015 +0000
@@ -109,7 +109,7 @@
     0x00, // 92 '\'  NO DISPLAY
     0x78, // 93 ']'
     0x00, // 94 '^'  NO DISPLAY
-    0x80, // 95 '_'
+    0x08, // 95 '_'
     0x02, // 96 '`'
     0x77, // 97 'a' SAME AS CAP
     0x1F, // 98 'b' SAME AS CAP