EPD display library. Check this version (it should work)
Fork of GDEP015OC1 by
Diff: GDEP015OC1.h
- Revision:
- 4:86114342ce8f
- Parent:
- 3:dc7b794b59b7
- Child:
- 5:6709a20459ad
diff -r dc7b794b59b7 -r 86114342ce8f GDEP015OC1.h --- 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);