this is a test of the library SSD1306 of adafruit for the oled of 128x64 with the card of development kl25z I have added a library to synthesize the main code
Fork of Adafruit_GFX by
Diff: Adafruit_SSD1306.h
- Revision:
- 17:34dd85b7a465
- Parent:
- 15:77feec1c0684
--- a/Adafruit_SSD1306.h Tue Nov 11 22:08:20 2014 +0000 +++ b/Adafruit_SSD1306.h Tue Oct 24 00:47:39 2017 +0000 @@ -170,13 +170,13 @@ * @param rawHeight - The vertical number of pixels for the display, defaults to 32 * @param rawWidth - The horizonal number of pixels for the display, defaults to 128 */ - Adafruit_SSD1306_I2c(I2C &i2c, PinName RST, uint8_t i2cAddress = SSD_I2C_ADDRESS, uint8_t rawHeight = 32, uint8_t rawWidth = 128) + Adafruit_SSD1306_I2c(I2C &i2c, PinName RST, uint8_t i2cAddress = SSD_I2C_ADDRESS, uint8_t rawHeight = 64, uint8_t rawWidth = 128) : Adafruit_SSD1306(RST, rawHeight, rawWidth) , mi2c(i2c) , mi2cAddress(i2cAddress) { begin(); - splash(); + //splash(); display(); };