A modified version of the GDEP015OC1 library that supports x-or as a color.
Fork of GDEP015OC1 by
Diff: GDEP015OC1.h
- Revision:
- 7:70c58d3cbc8b
- Parent:
- 6:45d2ec037fd6
- Child:
- 8:cd51988ee35d
diff -r 45d2ec037fd6 -r 70c58d3cbc8b GDEP015OC1.h --- a/GDEP015OC1.h Thu Sep 22 14:11:37 2016 +0000 +++ b/GDEP015OC1.h Mon Sep 26 10:08:14 2016 +0000 @@ -18,7 +18,8 @@ unsigned char get(uint16_t i); void empty(void); void invert(void); - void write(void); + void write(void); + void writeFull(void); void drawPixel(uint16_t startX, uint16_t startY, bool color); void drawLine(uint16_t startX, uint16_t startY, uint16_t stopX, uint16_t stopY, bool color); void drawTriangle(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t x3, uint16_t y3, bool color); @@ -43,7 +44,7 @@ void _spiCommand(unsigned char command); void _spiData(unsigned char data); void _init(void); - void _wakeUp(void); + void _wakeUp(bool partial); void _sleep(void); unsigned char _pixelConv(unsigned char *data, int i); uint8_t _mirrorData(uint8_t data);