afiskon / stm32-ssd1351

STM32 HAL-based library for SSD1351 color OLED modules
https://eax.me/stm32-ssd1351/
MIT License
20 stars 11 forks source link

Text is mirrored (invert) #1

Closed el20b014 closed 1 year ago

el20b014 commented 2 years ago

Houston,

we have a problem. Our Display shows us the Text mirrored. But we tried everything to get it right. Well it didn't worked. Can you help us? What do we have to change?

afiskon commented 2 years ago

I guess you have to modify the initialization sequence for your display somewhere around here https://github.com/afiskon/stm32-ssd1351/blob/master/Lib/ssd1351/ssd1351.c#L127 Try changing the value from 0xA6 (NORMALDISPLAY) to 0xA7 (INVERTDISPLAY).

Davi512 commented 1 year ago

IMG_9780

Davi512 commented 1 year ago

And this IMG_9794

afiskon commented 1 year ago

@Davi512 did you try the fix proposed above? Did it work for you?

Davi512 commented 1 year ago

I dont understand. Today is working without any issue

afiskon commented 1 year ago

Well I don't have a problematic device on hands in order to do anything about this. If you'll figure this out please submit a patch.