Modifications

Sauter à la navigation Sauter à la recherche
Ligne 57 : Ligne 57 :  
     ap.show_message("Astro Pi est incroyable!!", scroll_speed=0.05, text_colour=[255,255,0], back_colour=[0,0,255])</nowiki>
 
     ap.show_message("Astro Pi est incroyable!!", scroll_speed=0.05, text_colour=[255,255,0], back_colour=[0,0,255])</nowiki>
   −
'''2.''' Click File -- Save As, give your program a name e.g. {{fname|loop_text.py}}, then press F5 to run.
+
'''2.''' Cliquez sur ''File -- Save As'' (Fichier -- Sauver), puis donnez le nom suivant à votre programme {{fname|loop_text.py}}. Pour fnir, pressez F5 pour exécuter le programme.
   −
'''3.''' The LED matrix can also display a single character, rather than an entire message, using the {{fname|ap.show_letter}} function which also has some optional '''parameters'''.
+
'''3.''' Plutôt qu'un message, l'afficheur LED est également capable d'afficher un simple caractère en utilisant la fonction {{fname|ap.show_letter}}. La fonction {{fname|ap.show_letter}} dispose également de '''paramètres''' optionnels.
    
{| class="wikitable"
 
{| class="wikitable"
| align="center" style="background:#f0f0f0;"|'''Parameter'''
+
| align="center" style="background:#f0f0f0;"|'''Paramètre'''
| align="center" style="background:#f0f0f0;"|'''Effect'''
+
| align="center" style="background:#f0f0f0;"|'''Effets'''
 
|-
 
|-
| scroll_speed ||The scroll_speed parameter affects how quickly the text moves on the screen. The default value is 0.1. The bigger the number, the slower the speed
+
| scroll_speed ||Le paramètre scroll_speed affecte la vitesse parameter affects how quickly the text moves on the screen. The default value is 0.1. The bigger the number, the slower the speed
 
|-
 
|-
 
| text_colour ||The text_colour parameter alters the colour of the text and is specified as 3 values for Red, Green, Blue. Each value can be between 0 - 255, so [255,0,255] would be Red + Blue = Purple
 
| text_colour ||The text_colour parameter alters the colour of the text and is specified as 3 values for Red, Green, Blue. Each value can be between 0 - 255, so [255,0,255] would be Red + Blue = Purple
29 917

modifications

Menu de navigation