Modifications

Sauter à la navigation Sauter à la recherche
2 octets supprimés ,  1 avril 2025 à 15:16
Ligne 59 : Ligne 59 :  
     counter += 1
 
     counter += 1
 
      
 
      
−
# https://docs.micropython.org/en/latest/library/machine.Pin.html
  −
# https://docs.micropython.org/en/latest/reference/isr_rules.html
   
btn = Pin( Pin.board.GP16, Pin.IN, Pin.PULL_UP )
 
btn = Pin( Pin.board.GP16, Pin.IN, Pin.PULL_UP )
 
btn.irq( handler=bouton_cb, trigger=Pin.IRQ_FALLING )
 
btn.irq( handler=bouton_cb, trigger=Pin.IRQ_FALLING )
Ligne 93 : Ligne 91 :     
* '''Ligne 01''' : xxx
 
* '''Ligne 01''' : xxx
 +
 +
 +
https://docs.micropython.org/en/latest/library/machine.Pin.html
 +
https://docs.micropython.org/en/latest/reference/isr_rules.html
    
{{P2E-TRAILER}}
 
{{P2E-TRAILER}}
32 920

modifications

Menu de navigation