Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: IBMIoTClientEthernetExample IBMIoTClientWifiExample
Fork of C12832 by
Revision 20:13c4dce54241, committed 2015-03-20
- Comitter:
 - MACRUM
 - Date:
 - Fri Mar 20 16:03:15 2015 +0000
 - Parent:
 - 19:83823e92a9c8
 - Commit message:
 - Fixed enum name (again).
 
Changed in this revision
| C12832.cpp | Show annotated file Show diff for this revision Revisions of this file | 
| C12832.h | Show annotated file Show diff for this revision Revisions of this file | 
--- a/C12832.cpp	Thu Mar 19 14:27:17 2015 +0000
+++ b/C12832.cpp	Fri Mar 20 16:03:15 2015 +0000
@@ -32,7 +32,7 @@
     : GraphicsDisplay(name),_spi(mosi,NC,sck),_reset(reset),_A0(a0),_CS(ncs)
 {
     orientation = 1;
-    draw_mode = NORMAL;
+    draw_mode = C12832_NORMAL;
     char_x = 0;
     lcd_reset();
 }
@@ -142,7 +142,7 @@
     // first check parameter
     if(x > 128 || y > 32 || x < 0 || y < 0) return;
 
-    if(draw_mode == NORMAL) {
+    if(draw_mode == C12832_NORMAL) {
         if(color == 0)
             buffer[x + ((y/8) * 128)] &= ~(1 << (y%8));  // erase pixel
         else
--- a/C12832.h	Thu Mar 19 14:27:17 2015 +0000
+++ b/C12832.h	Fri Mar 20 16:03:15 2015 +0000
@@ -41,7 +41,7 @@
  * NORMAL
  * XOR set pixel by xor the screen
  */
-enum {_NORMAL,_XOR};
+enum {C12832_NORMAL,C12832_XOR};
 
 /**
  * Bitmap
    