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

Fork of GDEP015OC1 by aconno dev team

Revision:
4:86114342ce8f
Parent:
3:dc7b794b59b7
Child:
5:6709a20459ad
--- a/GDEP015OC1.h	Thu Sep 15 12:12:34 2016 +0000
+++ b/GDEP015OC1.h	Tue Sep 20 10:11:07 2016 +0000
@@ -11,9 +11,10 @@
 
 class GDEP015OC1 {
     public: 
+        unsigned char _buffer[BUFFER_SIZE];
         GDEP015OC1(SPI& spi, PinName cs, PinName dc, PinName rst, PinName busy);
                    
-        void fill(unsigned char data, uint16_t i);            
+        void fill(unsigned char data, int i);            
         unsigned char get(uint16_t i);            
         void empty(void);            
         void invert(void);            
@@ -37,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);