Modifications

Sauter à la navigation Sauter à la recherche
24 octets ajoutés ,  17 septembre 2013 à 09:44
Ligne 29 : Ligne 29 :  
void setup(){
 
void setup(){
 
   Robot.begin();
 
   Robot.begin();
   Robot.beginTFT();//Initialize the TFT module
+
   Robot.beginTFT();//Initialise le module TFT
 
}
 
}
   Ligne 37 : Ligne 37 :  
   delay(2000);
 
   delay(2000);
    +
  // Il est nécessaire d'effacer l'ancien texte avant d'écrire le nouveau
 
   Robot.fill(0,0,0);
 
   Robot.fill(0,0,0);
   Robot.text("Hello World",0,0,false);//It's necessary to erase the old text, before showing new text
+
   Robot.text("Bonjour le mode",0,0,false);
    
   Robot.fill(255,255,255);
 
   Robot.fill(255,255,255);
   Robot.text("I am a robot",0,0);
+
   Robot.text("Je suis un robot",0,0);
 
   delay(3000);
 
   delay(3000);
    
   Robot.fill(0,0,0);
 
   Robot.fill(0,0,0);
   Robot.text("I am a robot",0,0);
+
   Robot.text("Je suis un robot",0,0);
 
}</nowiki>
 
}</nowiki>
  
29 917

modifications

Menu de navigation