EPD display library. Check this version (it should work)

Fork of GDEP015OC1 by Jurica Resetar

Files at this revision

API Documentation at this revision

Comitter:
Anunnaki
Date:
Thu Sep 22 08:22:40 2016 +0000
Parent:
4:86114342ce8f
Commit message:
.

Changed in this revision

GDEP015OC1.cpp Show annotated file Show diff for this revision Revisions of this file
GDEP015OC1.h Show annotated file Show diff for this revision Revisions of this file
--- a/GDEP015OC1.cpp	Tue Sep 20 10:11:07 2016 +0000
+++ b/GDEP015OC1.cpp	Thu Sep 22 08:22:40 2016 +0000
@@ -129,7 +129,15 @@
     _spiData(0x01);
 }
 
-//If you touch this function satan will feast on your soul for an eternity!
+/*  
+ *  If you touch this function satan will feast on your soul for an eternity!
+ *  IM NOT PLAYING AROUND DONT FUCKING TOUCH IT!
+ *  You are thinking about it...
+ *  .
+ *  .
+ *  .
+ *  DONT!
+ */
 unsigned char GDEP015OC1::_pixelConv(unsigned char *data, int i){
     uint8_t pix = 0x00;
     for(uint8_t x = 0; x < 8; x++){
--- 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);