Thank you, I will take a look at it and see what can I can get out of it. At first glance it seems you determine end of page and set new page by code and don't let it to be decided by controller, right?See the attached ZIP file. Both are actually named ssd1306.c per the original SDK example, you just need to use a visual diff app like WinMerge to see the changes. Check the datasheet for SH1107, if it behaves much like SH1106, then the code should make the SSD1306 example partially working (at least see some raspberries).
Sadly I was unable to dig up anything that would make sense to me (except init sequence).Adafruit has a driver for a 128x128 screen with the SH1107 driver
https://github.com/adafruit/Adafruit_SH110x/tree/master
I also found that u8g2 supports several versions of displays with sh1107 but there needs to be few things defined manually in case that drivers are used by Pico.
In the mean time I quickly tested both Adafruit and u8g2 on Arduino micro to know what I'm working with and I wasn't successful with Adafruit example code so probably this display is not 1:1 Adafruit copy. Seedstudio example with u8g2 worked for me there but so far I was not able to port it to Pico with byte and gpio_and_delay sequences.
Statistics: Posted by Janez — Sun Dec 15, 2024 3:28 pm