Modifications
Sauter à la navigation
Sauter à la recherche
← Modification précédente
Modification suivante →
Mydin-Class-Pico3Mod
(voir la source)
Version du 29 avril 2025 à 00:05
138 octets ajoutés
,
29 avril 2025 à 00:05
→was_pressed(): bool
Ligne 139 :
Ligne 139 :
==== was_pressed(): bool ====
==== was_pressed(): bool ====
−
Check if a given button has been pressed since the last check.
+
Check if a given button has been pressed since the last check
. It also resets the pressed state for that given button.
+
+
{{underline|Reminder:}} the button state change is capture by IRQ event handler
.
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
Admin
Bureaucrates
,
Administrateurs
32 908
modifications
Menu de navigation
Outils personnels
Se connecter
Espaces de noms
Page
Discussion
Variantes
Affichages
Lire
Voir le texte source
Voir l’historique
Plus
Rechercher
Navigation
ARDUINO
RASPBERRY-PI
[:: PI Hacking ::]
Particle.IO
Micro Python
Imprimante 3D
Actualités
Modifications récentes
Page au hasard
Aide
Outils
Pages spéciales
Version imprimable