Modifications

Sauter à la navigation Sauter à la recherche
16 octets ajoutés ,  3 mars 2015 à 07:45
Ligne 62 : Ligne 62 :     
== Les interruptions: détails techniques ==
 
== Les interruptions: détails techniques ==
 +
{{traduction}}
 +
 
Let’s step through the details of what is happening with the switch callback. When you register a function with {{fname|sw.callback()}}, the switch sets up an external interrupt trigger (falling edge) on the pin that the switch is connected to. This means that the microcontroller will listen on the pin for any changes, and the following will occur:
 
Let’s step through the details of what is happening with the switch callback. When you register a function with {{fname|sw.callback()}}, the switch sets up an external interrupt trigger (falling edge) on the pin that the switch is connected to. This means that the microcontroller will listen on the pin for any changes, and the following will occur:
  
29 836

modifications

Menu de navigation