923 octets ajoutés
, 5 mars 2025 à 22:00
{{P2E-NAV}}
{{traduction}}
== Veilleuse ==
Réaliser les branchements suivants:
{| class="wikitable" border="1"
|-
| align="center" | '''Pico'''
| align="center" | '''Pico-2-Explorer'''
|- style="font-size: 90%"
| align="left" | GPxx
| align="left" | zzz
|- style="font-size: 90%"
| align="left" | GPxx
| align="left" | zzz
|- style="font-size: 90%"
| align="left" | GPxx
| align="left" | eee
|}
[[fichier:P2E-night-light-wiring.jpg|800px]]
== Code ==
Le script [https://github.com/mchobby/pico-2-explorer/blob/main/projects/night-light/nightlight.py nightlight.py] est disponible dans le [https://github.com/mchobby/pico-2-explorer dépôt dédié au Pico-2-Explorer].
<syntaxhighlight lang="python" line>
from micropython import const
xxxx
</syntaxhighlight>
Quelques mots d'explications:
* '''Lignes 11 à 43''' : xxxxx
== Un problème? ==
1. '''Pas de LED allumée ?'''
Vérifiez xxxx
{{P2E-TRAILER}}