Need code to make this image disappear after 6 seconds on oled i2c display

where and what do I add/modify for a code to make this image disappear from the oled display after 6 seconds from appearing when the oled is on? I'm not the best arduino programmer on the block right now, still a beginner .

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


#define OLED_RESET 12
Adafruit_SSD1306 display(OLED_RESET);

static const unsigned char PROGMEM Logo[] = //128x64 bitmap
{ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFE, 0x3F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0x1F, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xF9, 0x8F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0x39, 0xCF, 0xE7, 0xFF, 0xFF,
0xFF, 0xFF, 0xF0, 0x01, 0xCF, 0xE7, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0x0F, 0x87, 0xFF, 0xFF,
0xFF, 0xFF, 0xFC, 0x20, 0x04, 0x1F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x7F, 0xFF, 0xFF,
0xFF, 0xFF, 0xFC, 0xC0, 0x00, 0x3F, 0xFF, 0xFF, 0xFF, 0xFF, 0xF8, 0xE0, 0x07, 0x0F, 0xFF, 0xFF,
0xFF, 0xFF, 0xF3, 0x00, 0x80, 0x67, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0x09, 0xC8, 0x07, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xF9, 0x8F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0x9F, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFC, 0x1F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
  };

void setup()   
{                
  Serial.begin(9600);

  display.begin(SSD1306_SWITCHCAPVCC, 0x3C);  // initialize with the I2C addr 0x3D (for the 128x64)
  // init done
  
  display.clearDisplay();
  display.display(); // show splashscreen
  delay(2000);
  display.clearDisplay();   // clears the screen and buffer
 
  
  // miniature bitmap display
  /***display.drawbitmap(XPOS, YPOS, Name of Bitmap, WIDTH, HEIGHT, Color (1=white))***/

  display.drawBitmap(31, 8,  Logo, 64, 32, 1);
  display.display();
  delay(1000);
  display.clearDisplay();

} 

void loop() 
{
}

where and what do I add for a code to make this image disappear from the oled display after 6 seconds from appearing when the oled is on? I'm not the best arduino programmer on the block right now.

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


#define OLED_RESET 12
Adafruit_SSD1306 display(OLED_RESET);

static const unsigned char PROGMEM Logo[] = //128x64 bitmap
{ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFE, 0x3F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0x1F, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xF9, 0x8F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0x39, 0xCF, 0xE7, 0xFF, 0xFF,
0xFF, 0xFF, 0xF0, 0x01, 0xCF, 0xE7, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0x0F, 0x87, 0xFF, 0xFF,
0xFF, 0xFF, 0xFC, 0x20, 0x04, 0x1F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x7F, 0xFF, 0xFF,
0xFF, 0xFF, 0xFC, 0xC0, 0x00, 0x3F, 0xFF, 0xFF, 0xFF, 0xFF, 0xF8, 0xE0, 0x07, 0x0F, 0xFF, 0xFF,
0xFF, 0xFF, 0xF3, 0x00, 0x80, 0x67, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0x09, 0xC8, 0x07, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xF9, 0x8F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0x9F, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFC, 0x1F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
  };

void setup()   
{                
  Serial.begin(9600);

  display.begin(SSD1306_SWITCHCAPVCC, 0x3C);  // initialize with the I2C addr 0x3D (for the 128x64)
  // init done
  
  display.clearDisplay();
  display.display(); // show splashscreen
  delay(2000);
  display.clearDisplay();   // clears the screen and buffer
 
  
  // miniature bitmap display
  /***display.drawbitmap(XPOS, YPOS, Name of Bitmap, WIDTH, HEIGHT, Color (1=white))***/

  display.drawBitmap(31, 8,  Logo, 64, 32, 1);
  display.display();
  delay(1000);
  display.clearDisplay();

} 

void loop() 
{
}

Which image?

Do you understand any bit of the code you posted - like what do you think this does?

display.display();
delay(1000);
display.clearDisplay();

J-M-L

Um I'm just a little above a beginner so take it easy on me bro. I understand a little about the delay. So what you're saying is change the value of the delay to a different number right? or wrong? Also I made that bitmap image myself and it does verify,compile and works properly, I even canceled out the adafruit logo, so my image would just appear and not that preloaded star fruit.

Did it work when you tried it?

I may be wrong but, have you tried playing with the Delay values?
setting maybe 6000 instead of 1000 ?

Zackypoo:
J-M-L

Um I'm just a little above a beginner so take it easy on me bro. I understand a little about the delay. So what you're saying is change the value of the delay to a different number right? or wrong? Also I made that bitmap image myself and it does verify,compile and works properly, I even canceled out the adafruit logo, so my image would just appear and not that preloaded star fruit.

Take it easy - it was really a candid question to see what you understand and provide appropriate level of guidance and not state the obvious.

It would be helpful if you describe to us

  • what do you see when you run your program
  • how did you design your bitmap

@Zackypoo, do not cross-post. Threads merged.

J-M-L

I apologize for misinterpreting what you were saying , I have channel with about 20,000 subs on youtube and some of them will try to act smart or bash me for not knowing something, but I see now you're just trying to get me to try something on my own. But anyways. the sketch works perfectly as I wanted it to, Thanks so much for your help man I really appreciate it!

Good news! Have fun