Closed martin2250 closed 3 years ago
Thanks for the bug report, especially with a test case attached! I'll try and reproduce this on my end when I have a few minutes spare.
Did some more tinkering, this fixed it (src/mode/graphics.rs
):
Now this only needs to be selected automatically somehow
It would help if someone who has a 72x40 could figure out the offsets necessary for a fix. (I bet that's wrong as well and I would like to not having to guess how the horizontal offset value should be taken into account without having the display myself)
ssd1306
in use (if applicable): 0.4.0Hi James,
I've run into an issue with setting the rotation of the OLED. It seems that for
DisplayRotation::Rotate180
, the wrong part of the display is updated (approx. 128-96=32 columns at the right side of the screen contain only random noise). I don't have a good debugging setup here for fixing this, so I hope you can reproduce this bug and help me out :)Cheers! Martin