Oled-Display works but picture is split

Ive got my OLED running but i have the weird problem that the display is split into 2 halfs. 
Its hard to explain so please look at the picture. The Boot-Logo from Repetier is ok but when i scroll down via the encoder all menus are getting split like on the picture.
Anyone got that problem too?


  • u8glib splits creation of display into 8 segments of height, so to show one display it computes the content 8 times to reduce memory usage. It looks like the lower 3/8 should be at the top. But haven't seen that so far. What u8glib driver does the display use?
  • It uses the SH1106:
    #define U8GLIB_SH1106_SW_SPI 
    I had to adjust the Pins to:
    #define UI_DISPLAY_D4_PIN 44
    #define UI_DISPLAY_ENABLE_PIN 43
    #define UI_DISPLAY_RS_PIN 42
    #define UI_DISPLAY_D5_PIN 45
    #define UI_DISPLAY_D6_PIN 46 

    But im not sure if that would make any difference..

  • Ive rechecked my configs. It is the SH1106 but i had to modify the pins in ui.cpp to get it working.
    The InitSPI-function looks like this now:
    u8g_InitSPI(&u8g, &u8g_dev_sh1106_128x64_sw_spi,  25,27, 29, 31, 33);

    That was the only option to get it to work..

Sign In or Register to comment.