Modifications

Sauter à la navigation Sauter à la recherche
Ligne 117 : Ligne 117 :  
# La Pull_up ramène automatiquement le potentiel de la
 
# La Pull_up ramène automatiquement le potentiel de la
 
# broche au niveau haut.
 
# broche au niveau haut.
btn = pyb.Pin( 'Y10', Pin.IN, pull=Pin.PULL_UP )
+
btn = pyb.Pin( 'Y10', pyb.Pin.IN, pull=pyb.Pin.PULL_UP )
    
# boucle infinie
 
# boucle infinie
29 918

modifications

Menu de navigation