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:00
111 octets ajoutés
,
29 avril 2025 à 00:00
→was_pressed( idx ): bool
Ligne 137 :
Ligne 137 :
* sound the buzzer as last init operation
* sound the buzzer as last init operation
−
==== was_pressed(
idx
): bool ====
+
==== was_pressed(): bool ====
−
xxx
+
Check if a given button has been pressed since the last check.
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
Ligne 145 :
Ligne 145 :
</syntaxhighlight>
</syntaxhighlight>
+
* '''idx''' : index of the the button to check (0..N-1).
==== task_setup(): bool ====
==== task_setup(): bool ====
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