Hexiwear specific mods for SSD1351
Fork of Adafruit_GFX_1351 by
Diff: Adafruit_SSD1351.cpp
- Revision:
- 18:8606e2c579f1
- Parent:
- 17:0a4bb1070fd5
- Child:
- 19:ca4a631bfbd8
diff -r 0a4bb1070fd5 -r 8606e2c579f1 Adafruit_SSD1351.cpp --- a/Adafruit_SSD1351.cpp Wed Apr 22 02:14:36 2015 +0000 +++ b/Adafruit_SSD1351.cpp Thu Aug 18 23:29:04 2016 +0000 @@ -47,11 +47,11 @@ // set x and y coordinate writeCommand(SSD1351_CMD_SETCOLUMN); - writeData(x); + writeData(x+16); writeData(SSD1351WIDTH-1); writeCommand(SSD1351_CMD_SETROW); - writeData(y); + writeData(SSD1351HEIGHT-y+15); writeData(SSD1351HEIGHT-1); writeCommand(SSD1351_CMD_WRITERAM);