Modifications
Sauter à la navigation
Sauter à la recherche
← Modification précédente
Modification suivante →
ENG-CANSAT-PICO-HowTo
(voir la source)
Version du 25 février 2022 à 20:59
98 octets ajoutés
,
25 février 2022 à 20:59
→Print and Waits
Ligne 23 :
Ligne 23 :
Everything you will {{fname|print()}} will be sent to REPL (so over the USB-Serial line) and being visible in Thonny.
Everything you will {{fname|print()}} will be sent to REPL (so over the USB-Serial line) and being visible in Thonny.
+
+
This is incredibly useful to debug your software!
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
Ligne 32 :
Ligne 34 :
</syntaxhighlight>
</syntaxhighlight>
−
You can also sleep for milliseconds with {{fname|sleep_ms(x)}}
+
You can also sleep for milliseconds with {{fname|sleep_ms(x)}}
.
+
+
[[Fichier:ENG-CANSAT-PICO-HowTo-print.png]]
== Control an output ==
== Control an output ==
Admin
Bureaucrates
,
Administrateurs
29 917
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