How to mirror effect when displaying text on 0.96inch oled
Posted:
Thu Sep 17, 2015 11:42 am
by researcher1
Hello guys, i am about to make see-trough display with esp8266, 0.96inch oled screen and a small glass. But in order to overcome the mirror effect either i'll edit the library of u8glib(which i do not know how to do) or i'll add one mirror and make my design bigger.
My question is how can i make mirror effect on text so that when i look it from mirror i will see it correctly. I know i need to change some stuff on library but currently i do not know how to.
Re: How to mirror effect when displaying text on 0.96inch ol
Posted:
Sat Sep 19, 2015 4:38 am
by Mario Mikočević
Heya,
in file /u8g2/csrc/u8g2_d_ssd1306_128x64_noname.c there's code part
Code: Select all U8G2_C(0x0a1), /* segment remap a0/a1*/
U8G2_C(0x0c8), /* c0: scan dir normal, c8: reverse */
try alternating those numbers ..
--
Mozz
Re: How to mirror effect when displaying text on 0.96inch ol
Posted:
Sat Sep 19, 2015 2:37 pm
by researcher1
Mario Mikočević wrote:Heya,
in file /u8g2/csrc/u8g2_d_ssd1306_128x64_noname.c there's code part
Code: Select all U8G2_C(0x0a1), /* segment remap a0/a1*/
U8G2_C(0x0c8), /* c0: scan dir normal, c8: reverse */
try alternating those numbers ..
--
Mozz
Thanks a lot for your answer
but can you tell me a little bit more about segment remap thing?
Re: How to mirror effect when displaying text on 0.96inch ol
Posted:
Sat Nov 14, 2015 4:24 pm
by researcher1
Mario Mikočević wrote:Heya,
in file /u8g2/csrc/u8g2_d_ssd1306_128x64_noname.c there's code part
Code: Select all U8G2_C(0x0a1), /* segment remap a0/a1*/
U8G2_C(0x0c8), /* c0: scan dir normal, c8: reverse */
try alternating those numbers ..
Mozz
--
Succeed with making from U8G2_C(0x0c8) to U8G2_C(0x0c
0)
Note that syntax of data and file name was a bit diffrent