Need help Programming SH1106 , 1.3" OLED

Hi, So I have an animation sketch that works perfectly with a .96" SSD1306 OLED but having trouble figuring out how to make it works on the 1.3inch SH1106 display.

am using U8g2 libraries.

I uploaded the sketch file in text.


animationsketch.txt (91.9 KB)

NVM Got it working!