SSD1306 how to scroll big bitmap

Hi,

I'm using 64x48 SSD1306 display and I'm trying to scroll 99x14pix bitmap
I've managed to do it, but I can only see 48pixel repeating itself
So I can see 1...48th pix and then again 1...48th pixel instead of 1.....99th pixel

I'm using a very simple code:
{
display.drawBitmap(0, 40, hold_kor, 99, 14, WHITE);
display.display();
display.startscrolldiagleft(15,15);
delay(8000);
display.stopscroll();
}

Is it some kind of buffer limitation?
My screen is rotated (I'm using it in vertical orientation)

Most likely the problem is in the limitations of the function startscrolldiagleft)
Look to the source code

I think this will only scroll the pixels on the screen.

Try re-drawing the image starting off the left side of the screen:

  for (int x=0; x<99; x++)
  {
    display.drawBitmap(-x, 40, hold_kor, 99, 14, WHITE);
    display.display();
  }

Hi John,

thank you for your help! It is promising, the problem is the bitmap is drawing itself too quick, on top of each other?? Or I have to clean the display each time before new draw?
GIF-2022-11-28-09-18-11

Yes, it worked, you have to add

display.clearDisplay();

To clean the screen before each draw, so essentially:

 for (int x=0; x<99; x++)
  {
    display.clearDisplay();
    display.drawBitmap(-x, 40, hold_kor, 99, 14, WHITE);
    display.display();
  }

Thank you John!!