Modifications
Sauter à la navigation
Sauter à la recherche
← Modification précédente
Modification suivante →
Mydin-async-or-not
(voir la source)
Version du 22 avril 2025 à 18:30
143 octets ajoutés
,
22 avril 2025 à 18:30
→Step 5 : Being aware of Tasks
Ligne 138 :
Ligne 138 :
The graphic here below shows what's happening behind the scene when calling {{fname|run()}} method.
The graphic here below shows what's happening behind the scene when calling {{fname|run()}} method.
+
+
[[fichier:Mydin-DinControler-run.jpg|960px]]
Notice:
Notice:
Ligne 144 :
Ligne 146 :
* the ''userloop'' task taking care of ''loop'' execution.
* the ''userloop'' task taking care of ''loop'' execution.
−
[[fichier:Mydin
-
DinControler-run
.
jpg
|
960px]]
+
{{rbox
-
red| async function MUST USE the {{fname|await asyncio
.
sleep_ms()}} or {{fname
|
await asyncio.sleep()}} for creating delays. }}
+
+
As the
=== Step 6 : Read the doc ===
=== Step 6 : Read the doc ===
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