Modifications

Sauter à la navigation Sauter à la recherche
8 octets ajoutés ,  17 août 2016 à 20:34
Ligne 201 : Ligne 201 :  
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
 
while True:                                                                 
 
while True:                                                                 
     for i in range(1,5):                                                  
+
     for i in range(1,5): # de 1 à 4                                               
 
         if r2.button_pressed( i ):                                           
 
         if r2.button_pressed( i ):                                           
 
             print( 'bouton SW%i active' % i )                               
 
             print( 'bouton SW%i active' % i )                               
29 879

modifications

Menu de navigation