Modifications

Sauter à la navigation Sauter à la recherche
18 octets ajoutés ,  26 octobre 2024 à 01:05
Ligne 126 : Ligne 126 :  
La méthode {{fname|toggle()}} permet d'inverser facilement l'état d'une broche configurée en sortie.
 
La méthode {{fname|toggle()}} permet d'inverser facilement l'état d'une broche configurée en sortie.
   −
<syntaxhighlight lang="python" line>
+
<syntaxhighlight lang="python" line highlight="12,16">
 
from machine import Pin
 
from machine import Pin
 
import time
 
import time
32 920

modifications

Menu de navigation