Guide program for the display oled 128x64
Dependents: programa_pantalla_oled_128x64_I2C 19E042PIM_V3_Z2 19E042PIM_T3_R 19E042PIM_TJAN_2020_0494 ... more
Diff: Adafruit_SSD1306.h
- Revision:
- 15:77feec1c0684
- Parent:
- 12:7964c2cfdebc
diff -r edb3c36aa1a7 -r 77feec1c0684 Adafruit_SSD1306.h --- a/Adafruit_SSD1306.h Sat Oct 25 20:41:38 2014 +0000 +++ b/Adafruit_SSD1306.h Tue Nov 11 22:02:52 2014 +0000 @@ -208,7 +208,7 @@ // TODO - this will segfault if buffer.size() % 16 != 0 for(x=1; x<sizeof(buff); x++) - buff[x] = buffer[i+x]; + buff[x] = buffer[i+x-1]; mi2c.write(mi2cAddress, buff, sizeof(buff)); } };