Table des matières
1
Présentation .................................................................................................................................... 5
1.1
Achat ........................................................................................................................................ 6
1.2
Préparation .............................................................................................................................. 7
2
Premier branchement ..................................................................................................................... 8
3
Premier programme ........................................................................................................................ 9
3.1
Faire clignoter la LED interne en Python ................................................................................. 9
3.1.1
Interpréteur Python ........................................................................................................ 9
3.1.2
Configuration de l'IDE Thonny ....................................................................................... 10
3.1.3
Programme pour faire clignoter la LED ......................................................................... 12
3.2
Faire clignoter la LED interne en C ........................................................................................ 14
3.2.1
Installation et paramétrage du SDK .............................................................................. 14
3.2.2
Compilation du programme exemple blink ................................................................... 16
3.2.3
Copie et exécution de blink sur le PICO......................................................................... 20
4
Installation et configuration de Visual Studio Code sur Raspberry ............................................... 22
4.1
Installation ............................................................................................................................. 22
4.2
Configuration ......................................................................................................................... 24
4.3
Installation des extensions pour Micro Python ..................................................................... 24
4.3.1
Python Extension ........................................................................................................... 25
4.3.2
Pylance........................................................................................................................... 25
4.3.3
Pico Go ........................................................................................................................... 26
4.4
Conclusion ............................................................................................................................. 26
5
Fonctionnement avec l'IDE Arduino .............................................................................................. 27
5.1
Configuration ......................................................................................................................... 27
5.2
Premier test ........................................................................................................................... 28
5.3
Test avec impression ............................................................................................................. 29
5.4
Documentation ...................................................................................................................... 31
5.5
Conclusion ............................................................................................................................. 31
6
Les ports d'entrées-sorties ............................................................................................................ 32
7
Alimentation .................................................................................................................................. 34
8
Gestion des entrées/sorties .......................................................................................................... 35
8.1
Python ................................................................................................................................... 37
8.1.1
Entrées ........................................................................................................................... 37
8.1.2
Sorties ............................................................................................................................ 37