A modified version of the GDEP015OC1 library that supports x-or as a color.

Fork of GDEP015OC1 by aconno dev team

Revision:
5:6709a20459ad
Parent:
4:86114342ce8f
Child:
7:70c58d3cbc8b
diff -r 86114342ce8f -r 6709a20459ad GDEP015OC1.h
--- a/GDEP015OC1.h	Tue Sep 20 10:11:07 2016 +0000
+++ b/GDEP015OC1.h	Thu Sep 22 08:22:40 2016 +0000
@@ -11,7 +11,7 @@
 
 class GDEP015OC1 {
     public: 
-        unsigned char _buffer[BUFFER_SIZE];
+        //unsigned char _buffer[BUFFER_SIZE];
         GDEP015OC1(SPI& spi, PinName cs, PinName dc, PinName rst, PinName busy);
                    
         void fill(unsigned char data, int i);            
@@ -38,7 +38,7 @@
         
         bool _italic, _bold;
         
-        //unsigned char _buffer[BUFFER_SIZE];
+        unsigned char _buffer[BUFFER_SIZE];
          
         void _spiCommand(unsigned char command);            
         void _spiData(unsigned char data);