<small>Un petit peu d'anglais: "begin" signifie ''débuter''/''commencer''.</small>
<small>Un petit peu d'anglais: "begin" signifie ''débuter''/''commencer''.</small>
−
In loop(), every 100ms, read the state of the buttons. If one is being pressed, write the name to the screen.
+
Dans le fonction ''loop()'', le programme lit l'état des boutons toutes les 100ms. Si un bouton est pressé, sont nom est affiché (écrit) sur l'écran.
<nowiki>void loop(){
<nowiki>void loop(){
Ligne 206 :
Ligne 206 :
}</nowiki>
}</nowiki>
−
In the ''explore'' folder of the robot examples, there is a sketch called ''Logo'', which incorporates this example with the robot movement from above.
+
Dans le répertoire ''explore'' des exemples du robot, il y a un croquis/sketch appellé ''Logo'', which incorporates this example with the robot movement from above.
== Changer la vitesse moteur avec le potentiomètre ==
== Changer la vitesse moteur avec le potentiomètre ==