Toyomasa Watarai / Mbed 2 deprecated LEDMatrix_Master

Dependencies:   mbed

Fork of LEDMatrix_Master by en 129

Files at this revision

API Documentation at this revision

Comitter:
MACRUM
Date:
Sat Nov 30 14:40:18 2013 +0000
Parent:
6:bfd5c9d80f48
Commit message:
Fixed text length issue.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Nov 16 05:16:19 2013 +0000
+++ b/main.cpp	Sat Nov 30 14:40:18 2013 +0000
@@ -231,7 +231,7 @@
     {
         memset(ImageBuf,0,sizeof(ImageBuf));
 
-        for(i=0; i<DISPLAY_XSIZE+(16*CountChar(strs)-1); i++)
+        for(i=0; i<DISPLAY_XSIZE+(8*strlen(strs)); i++)
         {
             drawStr15x16(strs ,i, COLOR_W);
             ApplyColerMap();