Modifications
Sauter à la navigation
Sauter à la recherche
← Modification précédente
ENG-CANSAT-PICO-MISSION1-RECEIVE
(voir la source)
Version du 26 novembre 2022 à 14:23
585 octets ajoutés
,
26 novembre 2022 à 14:23
→Wiring
Ligne 25 :
Ligne 25 :
|-
|-
| MOSI
| MOSI
−
| GP7 (
Miso
)
+
| GP7 (
Mosi
)
|-
|-
| MISO
| MISO
−
| GP4 (
Mosi
)
+
| GP4 (
Miso
)
|-
|-
| SCK
| SCK
Ligne 106 :
Ligne 106 :
[[Fichier:ENG-CANSAT-PICO-MISSION1-RECEIVE-21.png]]
[[Fichier:ENG-CANSAT-PICO-MISSION1-RECEIVE-21.png]]
−
===
Catching the
data ===
+
===
Logging
data
to file
===
+
Linux operating system (and alike) allows the user to easily and quickly redirect output (like output of {{fname|cat /dev/ttyACM1}}) to a file.
+
+
Key-in the following command:
+
+
<nowiki>cat /dev/ttyACM1 > log.txt</nowiki>
+
+
will instantly redirect everything coming from {{fname|/dev/ttyACM1}} to the file {{fname|log.txt}} .
+
+
Press CTRL+C to stop 'cat' and the redirection. The file 'log.txt' is now fully available for data treatment.
+
+
A [https://github.com/mchobby/cansat-belgium-micropython/blob/main/mission1/cansat2.py log.txt sample] is available from the GitHub repository.
{{ENG-CANSAT-PICO-TRAILER}}
{{ENG-CANSAT-PICO-TRAILER}}
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