rust-embedded-community / ssd1306

SSD1306 OLED driver
Apache License 2.0
299 stars 68 forks source link

Buffered graphics paging issues. #204

Open mbaraa opened 9 months ago

mbaraa commented 9 months ago

Description of the problem/feature request/other

Paging is not working properly (actually not working at all) in buffered graphics, where it only draws on the same line over and over.

I tried changing the addressing mode with

display.set_addr_mode(AddrMode::Horizontal).unwrap();

And had no luck with it, so here I am.

However text mode works perfectly, with rotation, brightness, etc... it's just the buffered graphics that's not working, I'm not sure if it's from the HAL I'm using for the pico, but I have tried several displays and picos, same results.

Here's a picture of how the display looks with the text i2c code PXL_20231219_094245673.MP~2.jpg