The use of the ESP8266 in the world of IoT

User avatar
By researcher1
#29265 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.
User avatar
By Mario Mikočević
#29425 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
User avatar
By researcher1
#29461
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?
User avatar
By researcher1
#33984
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(0x0c0)
Note that syntax of data and file name was a bit diffrent