Closed cyberman54 closed 2 years ago
added: I can reproduce this with a different board type (a "TTGO T-fox"), which has SSD1306 too, but from different source and with different look.
My code is mainly based on methods
obdSetCursor()
, obdWriteString()
, obdDumpBuffer()
, obdFill()
, obdSetBackBuffer()
, obdSetTextWrap()
Initialization is
int rc = obdI2CInit(&ssoled, OLED_128x64, -1, 0, 0, 1, 21, 22, NOT_A_PIN, 400000L)
@bitbank2 any comments? 2.0.0 seems broken.
Meanwhile i figured out, positioning got broken with this commit, and was not fixed by one of the later commits.
I'm sorry, I need to document all of the changes when I added the C++ class. The x/y coordinates needed to behave more like TFT_eSPI/Adafruit_GFX, so yes the Y is now in pixels not lines.
What? This is major breaking change, that should have been documented somewhere. I thought this is library, not application software. It's hard to use it if suddenly breaking changes are to be expected.
But thanks for the note, it should be possible now to adapt my application.
I apologize for the disturbance; you're welcome to continue using the older version of the library until I have updated the documentation.
Board: Olimex ESP32 POE ISO with SSD1306 connected via I2C
=> Display SSD1306 is working, but showing only two lines on the top, and with wrong positioning of text in these lines
=> (same) Display SSD1306 is working properly