Essayez de déplacer le fil que vous avez branché sur D7 de la masse (GND) à 5 Volts. Vous devriez voir les lectures de la valeur d'entrée passer à 'HIGH' (niveau haut):
−
−
Try moving the jumper wire for D7 from ground to 5 volts. You should see the input start to read a high value:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Ligne 105 :
Ligne 103 :
</syntaxhighlight>
</syntaxhighlight>
−
Swap the jumper wire between ground and 5 volts to see the input value change.
+
Basculez de nouveau le fil de +5Volts vers la masse (GND) et la valeur lue repassera de nouveau vers 'LOW' (niveau bas).
+
+
{{traduction}}
Let's look a little more closely at the code to understand how reading and writing digital GPIO works.
Let's look a little more closely at the code to understand how reading and writing digital GPIO works.