Arduino Function: RobotControl.displayLogos

Description

This function helps displaying an opening image sequence. displayLogos() draws "lg0.bmp" and "lg1.bmp" from an attched SD card to the screen, with 2 seconds of delay between the first and second image. There's a 2 second delay after "lg1.bmp". You need to initialize both the LCD and SD card, and have "lg0.bmp" and "lg1.bmp" on the card (they are installed by default).

Syntax

Robot.displayLogos();

Examples

#include 

void setup(){
 Robot.begin();
 Robot.beginTFT();//Initialize the TFT module
 Robot.displayLogos();//Show the opening sequence
}

void loop(){
 Robot.text("Hello World",0,0,true);
 delay(2000);

 Robot.text("Hello World",0,0,false);//It's necessary to erase the old text, for showing new text
 Robot.text("I am a robot",0,0,true);
 delay(3000);

 Robot.text("I am a robot",0,0,false);
}


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc