Can't display animation using u8g2 library

hai guys, i find the problem when i upload animation/gif to oled screen using u8glib
but when im using adafruitssd1306 its work. i got confused, can anyone help me
here's the code ssd1306 by adafruit

#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define SCREEN_I2C_ADDR 0x3C // or 0x3C
#define SCREEN_WIDTH 128     // OLED display width, in pixels
#define SCREEN_HEIGHT 64     // OLED display height, in pixels
#define OLED_RST_PIN -1      // Reset pin (-1 if not available)

Adafruit_SSD1306 display(128, 64, &Wire, OLED_RST_PIN);

// OLED Animation: search
// Code auto-generated by https://wokwi.com/animator, graphics by icons8.com

#define FRAME_DELAY (42)
#define FRAME_WIDTH (32)
#define FRAME_HEIGHT (32)
#define FRAME_COUNT (sizeof(frames) / sizeof(frames[0]))
const byte PROGMEM frames[][128] = {
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,225,224,0,3,128,48,0,6,0,24,0,4,0,12,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,3,0,8,0,2,0,12,0,6,0,4,0,12,0,3,0,28,0,1,128,126,0,0,255,199,0,0,31,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,0,0,0,241,192,0,3,128,48,0,6,0,24,0,12,0,12,0,8,0,4,0,24,0,2,0,16,0,2,0,16,0,3,0,48,0,1,0,48,0,1,0,48,0,1,0,48,0,1,0,16,0,3,0,16,0,2,0,24,0,2,0,8,0,4,0,12,0,12,0,6,0,28,0,3,128,126,0,0,251,199,0,0,31,3,192,0,0,1,224,0,0,0,240,0,0,0,120,0,0,0,60,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,62,0,0,0,243,192,0,3,0,96,0,6,0,24,0,12,0,8,0,24,0,4,0,16,0,6,0,48,0,2,0,48,0,2,0,32,0,2,0,32,0,3,0,32,0,3,0,32,0,3,0,32,0,2,0,48,0,2,0,16,0,6,0,24,0,4,0,12,0,12,0,6,0,28,0,3,0,127,0,1,227,199,128,0,63,3,192,0,0,1,224,0,0,0,240,0,0,0,120,0,0,0,60,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,62,0,0,1,227,192,0,3,0,96,0,4,0,48,0,8,0,24,0,24,0,12,0,48,0,4,0,32,0,6,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,6,0,48,0,4,0,24,0,12,0,8,0,24,0,12,0,62,0,3,0,111,0,1,227,199,128,0,62,3,192,0,0,1,224,0,0,0,120,0,0,0,60,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,126,0,0,1,231,128,0,6,0,224,0,12,0,48,0,24,0,24,0,16,0,8,0,32,0,12,0,32,0,4,0,96,0,4,0,64,0,6,0,64,0,6,0,64,0,6,0,64,0,6,0,96,0,4,0,32,0,4,0,32,0,12,0,16,0,8,0,24,0,24,0,12,0,62,0,7,0,239,0,1,231,135,128,0,124,3,192,0,0,0,240,0,0,0,120,0,0,0,60,0,0,0,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,254,0,0,3,131,128,0,14,0,224,0,8,0,48,0,16,0,16,0,48,0,24,0,32,0,8,0,96,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,96,0,12,0,32,0,8,0,48,0,24,0,24,0,56,0,12,0,126,0,7,1,207,0,1,255,7,128,0,56,3,224,0,0,0,240,0,0,0,120,0,0,0,60,0,0,0,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,1,254,0,0,7,3,128,0,12,0,224,0,24,0,48,0,48,0,16,0,32,0,24,0,96,0,8,0,64,0,12,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,96,0,8,0,32,0,8,0,48,0,24,0,24,0,56,0,12,0,126,0,7,1,207,0,1,255,7,128,0,0,3,192,0,0,0,240,0,0,0,120,0,0,0,56,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,56,0,0,1,255,0,0,7,1,192,0,12,0,96,0,24,0,48,0,48,0,16,0,32,0,8,0,96,0,8,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,12,0,96,0,8,0,32,0,24,0,48,0,16,0,24,0,56,0,12,0,252,0,3,131,143,0,0,254,7,128,0,0,3,192,0,0,1,224,0,0,0,248,0,0,0,56,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,124,0,0,3,207,128,0,6,0,192,0,8,0,96,0,16,0,48,0,48,0,24,0,32,0,8,0,64,0,12,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,12,0,96,0,8,0,48,0,24,0,16,0,48,0,8,0,120,0,6,0,252,0,3,199,158,0,0,124,7,0,0,0,3,192,0,0,1,224,0,0,0,240,0,0,0,120,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,254,0,0,3,131,128,0,14,0,192,0,24,0,32,0,16,0,16,0,32,0,24,0,96,0,8,0,64,0,12,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,96,0,12,0,32,0,8,0,48,0,24,0,24,0,48,0,12,0,120,0,7,1,252,0,1,255,30,0,0,56,15,0,0,0,7,128,0,0,3,192,0,0,1,224,0,0,0,240,0,0,0,112,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,1,255,0,0,7,1,192,0,12,0,96,0,24,0,48,0,48,0,24,0,32,0,8,0,96,0,12,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,96,0,12,0,32,0,8,0,48,0,24,0,24,0,48,0,12,0,112,0,7,1,248,0,1,255,28,0,0,0,14,0,0,0,7,0,0,0,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,96,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,60,0,0,1,255,128,0,7,0,224,0,12,0,48,0,24,0,24,0,16,0,8,0,48,0,12,0,32,0,4,0,96,0,4,0,96,0,6,0,64,0,6,0,64,0,2,0,64,0,6,0,96,0,6,0,32,0,4,0,32,0,4,0,16,0,8,0,24,0,24,0,12,0,48,0,6,0,112,0,3,195,248,0,0,126,28,0,0,0,14,0,0,0,7,0,0,0,7,128,0,0,3,192,0,0,1,224,0,0,0,240,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,62,0,0,1,227,192,0,3,0,96,0,6,0,16,0,8,0,8,0,24,0,12,0,16,0,4,0,48,0,6,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,2,0,48,0,6,0,16,0,4,0,24,0,12,0,12,0,8,0,6,0,48,0,3,0,120,0,1,227,248,0,0,62,28,0,0,0,14,0,0,0,7,0,0,0,7,128,0,0,3,192,0,0,1,192,0,0,0,224,0,0,0,96,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,63,0,0,0,241,192,0,3,128,48,0,6,0,24,0,12,0,12,0,8,0,4,0,24,0,2,0,16,0,2,0,16,0,3,0,48,0,1,0,48,0,1,0,48,0,1,0,48,0,1,0,16,0,3,0,16,0,2,0,24,0,2,0,8,0,4,0,12,0,12,0,6,0,24,0,3,128,120,0,0,251,252,0,0,31,28,0,0,0,14,0,0,0,7,0,0,0,7,128,0,0,3,128,0,0,1,192,0,0,0,224,0,0,0,224,0,0,0,64,0,0,0,0,0,0,0,0},
  {0,31,0,0,0,127,224,0,1,128,48,0,3,0,24,0,6,0,4,0,12,0,6,0,8,0,3,0,24,0,1,0,16,0,1,0,16,0,1,0,16,0,1,128,16,0,1,0,16,0,1,0,16,0,1,0,24,0,1,0,8,0,3,0,12,0,2,0,6,0,4,0,3,0,12,0,1,128,56,0,0,241,252,0,0,31,156,0,0,0,14,0,0,0,7,0,0,0,7,128,0,0,3,128,0,0,1,192,0,0,0,224,0,0,0,240,0,0,0,96,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,63,192,0,0,224,112,0,1,128,24,0,3,0,4,0,6,0,2,0,12,0,3,0,8,0,1,0,8,0,1,128,24,0,1,128,24,0,0,128,24,0,0,128,24,0,0,128,24,0,1,128,8,0,1,0,8,0,1,0,12,0,3,0,6,0,2,0,2,0,4,0,1,128,24,0,0,224,124,0,0,63,220,0,0,0,14,0,0,0,7,0,0,0,7,128,0,0,3,128,0,0,1,192,0,0,0,224,0,0,0,224,0,0,0,112,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,31,128,0,0,112,240,0,1,128,24,0,3,0,12,0,6,0,6,0,4,0,3,0,12,0,1,0,8,0,1,0,8,0,1,128,24,0,0,128,24,0,0,128,24,0,0,128,24,0,0,128,8,0,1,128,8,0,1,0,12,0,1,0,4,0,2,0,2,0,6,0,1,0,12,0,0,192,60,0,0,127,252,0,0,15,14,0,0,0,7,0,0,0,7,128,0,0,3,128,0,0,1,192,0,0,0,224,0,0,0,240,0,0,0,112,0,0,0,32,0,0,0,0},
  {0,0,0,0,0,15,0,0,0,127,224,0,0,192,56,0,3,0,12,0,2,0,6,0,4,0,2,0,12,0,3,0,8,0,1,0,8,0,1,128,24,0,1,128,24,0,0,128,24,0,0,128,24,0,0,128,8,0,1,128,8,0,1,0,12,0,1,0,4,0,3,0,6,0,6,0,3,0,12,0,1,128,28,0,0,112,254,0,0,31,142,0,0,0,7,0,0,0,3,128,0,0,3,192,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,32,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,192,0,0,192,112,0,1,128,24,0,2,0,12,0,4,0,6,0,12,0,3,0,8,0,1,0,24,0,1,0,24,0,1,128,16,0,1,128,16,0,1,128,16,0,1,128,24,0,1,128,24,0,1,0,8,0,1,0,12,0,3,0,4,0,6,0,2,0,12,0,1,128,28,0,0,224,126,0,0,63,207,0,0,0,7,0,0,0,3,128,0,0,1,192,0,0,0,224,0,0,0,240,0,0,0,120,0,0,0,56,0,0,0,16,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,192,0,0,224,112,0,3,128,24,0,2,0,12,0,4,0,6,0,12,0,2,0,8,0,3,0,24,0,1,0,16,0,1,0,16,0,1,0,16,0,1,128,16,0,1,0,16,0,1,0,24,0,1,0,8,0,3,0,8,0,2,0,4,0,6,0,6,0,12,0,3,0,28,0,1,192,126,0,0,127,207,0,0,0,7,128,0,0,3,192,0,0,1,224,0,0,0,240,0,0,0,120,0,0,0,56,0,0,0,24,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,56,0,6,0,12,0,4,0,4,0,12,0,2,0,8,0,3,0,24,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,192,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,120,0,0,0,60,0,0,0,24,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0}
};

void setup() {
  display.begin(SSD1306_SWITCHCAPVCC, SCREEN_I2C_ADDR);
}

int frame = 0;
void loop() {
  display.clearDisplay();
  display.drawBitmap(48, 16, frames[frame], FRAME_WIDTH, FRAME_HEIGHT, 1);
  display.display();
  frame = (frame + 1) % FRAME_COUNT;
  delay(FRAME_DELAY);
}

here's the code u8glib

#include <U8g2lib.h>
#include "DHT.h"
#include <Wire.h>
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);
// OLED Animation: search
// Code auto-generated by https://wokwi.com/animator, graphics by icons8.com

#define FRAME_DELAY (42)
#define FRAME_WIDTH (32)
#define FRAME_HEIGHT (32)
#define FRAME_COUNT (sizeof(frames) / sizeof(frames[0]))
const byte PROGMEM frames[][128] = {
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,225,224,0,3,128,48,0,6,0,24,0,4,0,12,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,3,0,8,0,2,0,12,0,6,0,4,0,12,0,3,0,28,0,1,128,126,0,0,255,199,0,0,31,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,0,0,0,241,192,0,3,128,48,0,6,0,24,0,12,0,12,0,8,0,4,0,24,0,2,0,16,0,2,0,16,0,3,0,48,0,1,0,48,0,1,0,48,0,1,0,48,0,1,0,16,0,3,0,16,0,2,0,24,0,2,0,8,0,4,0,12,0,12,0,6,0,28,0,3,128,126,0,0,251,199,0,0,31,3,192,0,0,1,224,0,0,0,240,0,0,0,120,0,0,0,60,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,62,0,0,0,243,192,0,3,0,96,0,6,0,24,0,12,0,8,0,24,0,4,0,16,0,6,0,48,0,2,0,48,0,2,0,32,0,2,0,32,0,3,0,32,0,3,0,32,0,3,0,32,0,2,0,48,0,2,0,16,0,6,0,24,0,4,0,12,0,12,0,6,0,28,0,3,0,127,0,1,227,199,128,0,63,3,192,0,0,1,224,0,0,0,240,0,0,0,120,0,0,0,60,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,62,0,0,1,227,192,0,3,0,96,0,4,0,48,0,8,0,24,0,24,0,12,0,48,0,4,0,32,0,6,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,6,0,48,0,4,0,24,0,12,0,8,0,24,0,12,0,62,0,3,0,111,0,1,227,199,128,0,62,3,192,0,0,1,224,0,0,0,120,0,0,0,60,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,126,0,0,1,231,128,0,6,0,224,0,12,0,48,0,24,0,24,0,16,0,8,0,32,0,12,0,32,0,4,0,96,0,4,0,64,0,6,0,64,0,6,0,64,0,6,0,64,0,6,0,96,0,4,0,32,0,4,0,32,0,12,0,16,0,8,0,24,0,24,0,12,0,62,0,7,0,239,0,1,231,135,128,0,124,3,192,0,0,0,240,0,0,0,120,0,0,0,60,0,0,0,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,254,0,0,3,131,128,0,14,0,224,0,8,0,48,0,16,0,16,0,48,0,24,0,32,0,8,0,96,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,96,0,12,0,32,0,8,0,48,0,24,0,24,0,56,0,12,0,126,0,7,1,207,0,1,255,7,128,0,56,3,224,0,0,0,240,0,0,0,120,0,0,0,60,0,0,0,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,1,254,0,0,7,3,128,0,12,0,224,0,24,0,48,0,48,0,16,0,32,0,24,0,96,0,8,0,64,0,12,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,96,0,8,0,32,0,8,0,48,0,24,0,24,0,56,0,12,0,126,0,7,1,207,0,1,255,7,128,0,0,3,192,0,0,0,240,0,0,0,120,0,0,0,56,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,56,0,0,1,255,0,0,7,1,192,0,12,0,96,0,24,0,48,0,48,0,16,0,32,0,8,0,96,0,8,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,12,0,96,0,8,0,32,0,24,0,48,0,16,0,24,0,56,0,12,0,252,0,3,131,143,0,0,254,7,128,0,0,3,192,0,0,1,224,0,0,0,248,0,0,0,56,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,124,0,0,3,207,128,0,6,0,192,0,8,0,96,0,16,0,48,0,48,0,24,0,32,0,8,0,64,0,12,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,12,0,96,0,8,0,48,0,24,0,16,0,48,0,8,0,120,0,6,0,252,0,3,199,158,0,0,124,7,0,0,0,3,192,0,0,1,224,0,0,0,240,0,0,0,120,0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,254,0,0,3,131,128,0,14,0,192,0,24,0,32,0,16,0,16,0,32,0,24,0,96,0,8,0,64,0,12,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,96,0,12,0,32,0,8,0,48,0,24,0,24,0,48,0,12,0,120,0,7,1,252,0,1,255,30,0,0,56,15,0,0,0,7,128,0,0,3,192,0,0,1,224,0,0,0,240,0,0,0,112,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,1,255,0,0,7,1,192,0,12,0,96,0,24,0,48,0,48,0,24,0,32,0,8,0,96,0,12,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,64,0,4,0,96,0,12,0,32,0,8,0,48,0,24,0,24,0,48,0,12,0,112,0,7,1,248,0,1,255,28,0,0,0,14,0,0,0,7,0,0,0,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,96,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,60,0,0,1,255,128,0,7,0,224,0,12,0,48,0,24,0,24,0,16,0,8,0,48,0,12,0,32,0,4,0,96,0,4,0,96,0,6,0,64,0,6,0,64,0,2,0,64,0,6,0,96,0,6,0,32,0,4,0,32,0,4,0,16,0,8,0,24,0,24,0,12,0,48,0,6,0,112,0,3,195,248,0,0,126,28,0,0,0,14,0,0,0,7,0,0,0,7,128,0,0,3,192,0,0,1,224,0,0,0,240,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,62,0,0,1,227,192,0,3,0,96,0,6,0,16,0,8,0,8,0,24,0,12,0,16,0,4,0,48,0,6,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,2,0,32,0,2,0,48,0,6,0,16,0,4,0,24,0,12,0,12,0,8,0,6,0,48,0,3,0,120,0,1,227,248,0,0,62,28,0,0,0,14,0,0,0,7,0,0,0,7,128,0,0,3,192,0,0,1,192,0,0,0,224,0,0,0,96,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,63,0,0,0,241,192,0,3,128,48,0,6,0,24,0,12,0,12,0,8,0,4,0,24,0,2,0,16,0,2,0,16,0,3,0,48,0,1,0,48,0,1,0,48,0,1,0,48,0,1,0,16,0,3,0,16,0,2,0,24,0,2,0,8,0,4,0,12,0,12,0,6,0,24,0,3,128,120,0,0,251,252,0,0,31,28,0,0,0,14,0,0,0,7,0,0,0,7,128,0,0,3,128,0,0,1,192,0,0,0,224,0,0,0,224,0,0,0,64,0,0,0,0,0,0,0,0},
  {0,31,0,0,0,127,224,0,1,128,48,0,3,0,24,0,6,0,4,0,12,0,6,0,8,0,3,0,24,0,1,0,16,0,1,0,16,0,1,0,16,0,1,128,16,0,1,0,16,0,1,0,16,0,1,0,24,0,1,0,8,0,3,0,12,0,2,0,6,0,4,0,3,0,12,0,1,128,56,0,0,241,252,0,0,31,156,0,0,0,14,0,0,0,7,0,0,0,7,128,0,0,3,128,0,0,1,192,0,0,0,224,0,0,0,240,0,0,0,96,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,63,192,0,0,224,112,0,1,128,24,0,3,0,4,0,6,0,2,0,12,0,3,0,8,0,1,0,8,0,1,128,24,0,1,128,24,0,0,128,24,0,0,128,24,0,0,128,24,0,1,128,8,0,1,0,8,0,1,0,12,0,3,0,6,0,2,0,2,0,4,0,1,128,24,0,0,224,124,0,0,63,220,0,0,0,14,0,0,0,7,0,0,0,7,128,0,0,3,128,0,0,1,192,0,0,0,224,0,0,0,224,0,0,0,112,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,31,128,0,0,112,240,0,1,128,24,0,3,0,12,0,6,0,6,0,4,0,3,0,12,0,1,0,8,0,1,0,8,0,1,128,24,0,0,128,24,0,0,128,24,0,0,128,24,0,0,128,8,0,1,128,8,0,1,0,12,0,1,0,4,0,2,0,2,0,6,0,1,0,12,0,0,192,60,0,0,127,252,0,0,15,14,0,0,0,7,0,0,0,7,128,0,0,3,128,0,0,1,192,0,0,0,224,0,0,0,240,0,0,0,112,0,0,0,32,0,0,0,0},
  {0,0,0,0,0,15,0,0,0,127,224,0,0,192,56,0,3,0,12,0,2,0,6,0,4,0,2,0,12,0,3,0,8,0,1,0,8,0,1,128,24,0,1,128,24,0,0,128,24,0,0,128,24,0,0,128,8,0,1,128,8,0,1,0,12,0,1,0,4,0,3,0,6,0,6,0,3,0,12,0,1,128,28,0,0,112,254,0,0,31,142,0,0,0,7,0,0,0,3,128,0,0,3,192,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,32,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,192,0,0,192,112,0,1,128,24,0,2,0,12,0,4,0,6,0,12,0,3,0,8,0,1,0,24,0,1,0,24,0,1,128,16,0,1,128,16,0,1,128,16,0,1,128,24,0,1,128,24,0,1,0,8,0,1,0,12,0,3,0,4,0,6,0,2,0,12,0,1,128,28,0,0,224,126,0,0,63,207,0,0,0,7,0,0,0,3,128,0,0,1,192,0,0,0,224,0,0,0,240,0,0,0,120,0,0,0,56,0,0,0,16,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,192,0,0,224,112,0,3,128,24,0,2,0,12,0,4,0,6,0,12,0,2,0,8,0,3,0,24,0,1,0,16,0,1,0,16,0,1,0,16,0,1,128,16,0,1,0,16,0,1,0,24,0,1,0,8,0,3,0,8,0,2,0,4,0,6,0,6,0,12,0,3,0,28,0,1,192,126,0,0,127,207,0,0,0,7,128,0,0,3,192,0,0,1,224,0,0,0,240,0,0,0,120,0,0,0,56,0,0,0,24,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,56,0,6,0,12,0,4,0,4,0,12,0,2,0,8,0,3,0,24,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,192,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,120,0,0,0,60,0,0,0,24,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0,0,63,128,0,0,224,224,0,3,128,48,0,6,0,8,0,4,0,4,0,8,0,6,0,24,0,2,0,16,0,3,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,16,0,1,0,24,0,3,0,8,0,2,0,12,0,6,0,6,0,12,0,3,0,28,0,1,128,126,0,0,127,199,0,0,14,3,128,0,0,1,192,0,0,0,224,0,0,0,112,0,0,0,56,0,0,0,28,0,0,0,8,0,0,0,0,0,0,0,0}
};

void setup() {
  u8g2.begin();
}

int frame = 0;
void loop() {
  u8g2.clearBuffer();
  u8g2.drawXBMP(48, 16, FRAME_WIDTH, FRAME_HEIGHT, frames[frame]);
  u8g2.sendBuffer();
  frame = (frame + 1) % FRAME_COUNT;
  delay(FRAME_DELAY);
}

display with adafruit ssd1306


and this when im upload with u8g2lib

adjust the bitmap settings to match what the library expects in terms of bits ordering

this seems related to your other post

please note that Cross-posting is against the Arduino forum rules. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum. It will help you get the best out of the forum in the future.

Thank you.

thanks bro, its help me

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.