Modifications

Sauter à la navigation Sauter à la recherche
79 octets ajoutés ,  4 novembre 2025 à 16:52
Ligne 59 : Ligne 59 :  
[[Fichier:ENG-CANSAT-PICO-GPS-10.jpg|800px]]
 
[[Fichier:ENG-CANSAT-PICO-GPS-10.jpg|800px]]
   −
== GPS code ==
+
== GPS code for Cansat ==
−
Now we will load and executes the {{fname|simpletest.py}} script. The script must be downloaded from the repository.
+
CanSat comes with its own GPS examples, they are available in the [https://github.com/mchobby/cansat-belgium-micropython/tree/main/test-gps cansat-belgium-micropython/test-gps] repository sub-folder.
   −
{{download-box|'''simpletest''' Python script|https://github.com/mchobby/cansat-belgium-micropython/blob/main/test-gps/simpletest.py}}
+
{{download-box|'''test-GPS''' Python script|https://github.com/mchobby/cansat-belgium-micropython/tree/main/test-gps}}
   −
The script can be either executed from Thonny -OR- transfered to the Pico and executed directly on the microcontroler.
+
The scripts can be either executed from Thonny -OR- transfered to the Pico and executed directly on the microcontroler.
    
It will output the messages on the REPL/Shell (over the USB-serial connexion) when the GPS got a fix.
 
It will output the messages on the REPL/Shell (over the USB-serial connexion) when the GPS got a fix.
32 908

modifications

Menu de navigation