EPD display library. Check this version (it should work)
Fork of GDEP015OC1 by
Diff: GDEP015OC1.cpp
- Revision:
- 6:45d2ec037fd6
- Parent:
- 4:86114342ce8f
- Child:
- 7:70c58d3cbc8b
--- a/GDEP015OC1.cpp Tue Sep 20 10:11:07 2016 +0000 +++ b/GDEP015OC1.cpp Thu Sep 22 14:11:37 2016 +0000 @@ -11,7 +11,8 @@ }; GDEP015OC1::GDEP015OC1(SPI& spi, PinName cs=p5, PinName dc=p6, PinName rst=p7, PinName busy=p8) : _spi(spi), _cs(cs), _dc(dc), _rst(rst), _busy(busy){ - _bold = _italic = false; + _bold = true; + _italic = false; _init(); } @@ -129,7 +130,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++){