Modifications

Sauter à la navigation Sauter à la recherche
518 octets ajoutés ,  13 juin 2016 à 13:52
Ligne 173 : Ligne 173 :     
<syntaxhighlight lang="python">
 
<syntaxhighlight lang="python">
 +
# Cet exemple utilise les interruption et callback pour changer l'état de
 +
# la LED heartbeat à chaque fois que le bouton branché sur GP8 est pressé.
 +
#
 +
#
 +
# Ou acheter un WiPy et une carte d'extension
 +
#  http://shop.mchobby.be/product.php?id_product=736
 +
#  http://shop.mchobby.be/product.php?id_product=737
 +
#  http://shop.mchobby.be/category.php?id_category=68
 +
#
 +
# Voyez le tutoriel
 +
#  http://wiki.mchobby.be/index.php?title=Hack-wipy-button
 +
#
 +
# Auteur: Meurisse D. pour shop.mchoby.be
 +
# Licence: CC-BY-SA
 +
#
 
from machine import Pin
 
from machine import Pin
 
import wipy
 
import wipy
29 917

modifications

Menu de navigation