u8glib bitmap question

Hello everyone, I wrote a code to show many information on the screen and everything is fine so far, I just want to add a startup screen, a bitmap that shows only once at the startup but i don't know how to do it with the picture loop structure.
May someone help me? Thanks.

Just Put the drawbitmap call in the setup function ?

Is IT possible in u8glib? I'm so stupid :smiley:

Well you do it this way

In setup, after initializing everything you put

u8g.firstPage();
 do {  
   drawWelcomeScreen();    
 } while( u8g.nextPage() );
delay(1000);  // to wait a while so that everyone can see your nice welcome screen

And then in the main loop you do the standard stuff

....

 u8g.firstPage();
 do {  
   draw();    
 } while( u8g.nextPage() ); 

....

Then you just need to write 2 functions

void drawWelcomeScreen(){
  // draw your welcome bitmap

}



void draw(){
    // Draw your main content here
}

That's wonderful! Thank you so much.