Modifications

Sauter à la navigation Sauter à la recherche
26 octets ajoutés ,  25 octobre 2024 à 21:38
Ligne 34 : Ligne 34 :  
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
 
from machine import Pin
 
from machine import Pin
 +
import time
 
p = Pin( 2, Pin.OUT )
 
p = Pin( 2, Pin.OUT )
    
# Allumer la LED
 
# Allumer la LED
 
p.value( True )
 
p.value( True )
 +
time.sleep(1)
    
# Eteindre la LED
 
# Eteindre la LED
32 920

modifications

Menu de navigation