Modifications

Sauter à la navigation Sauter à la recherche
50 octets ajoutés ,  16 avril 2015 à 11:10
Ligne 47 : Ligne 47 :     
== Le callback du Timer ==
 
== Le callback du Timer ==
The next thing we can do is register a callback function for the timer to execute when it triggers (see the [switch tutorial](tut-switch) for an introduction to callback functions):
+
The next thing we can do is register a callback function <small>[[Glossaire#C|Glossaire lettre C]]</small> for the timer to execute when it triggers (see the [switch tutorial](tut-switch) for an introduction to callback functions):
    
  <nowiki>>>> tim.callback(lambda t:pyb.LED(1).toggle())</nowiki>
 
  <nowiki>>>> tim.callback(lambda t:pyb.LED(1).toggle())</nowiki>
29 917

modifications

Menu de navigation