This shows you the differences between two versions of the page.
sde2:laboratoare:02_simple_fr [2022/03/17 23:01] cristiana.andrei |
sde2:laboratoare:02_simple_fr [2022/04/02 15:12] (current) cristiana.andrei [Exercises] |
||
---|---|---|---|
Line 153: | Line 153: | ||
La syntaxe d'un boucle **for**. | La syntaxe d'un boucle **for**. | ||
- | {{ :sde2:laboratoare:while.png?200 |}} | + | {{ :sde2:laboratoare:for.png?200 |}} |
=== Repeat === | === Repeat === | ||
Line 239: | Line 239: | ||
- Créez un programme qui allume un par un les LEDs(quand le LED suivant s'allume, le LED en derrière s'éteint) de la deuxième ligne. | - Créez un programme qui allume un par un les LEDs(quand le LED suivant s'allume, le LED en derrière s'éteint) de la deuxième ligne. | ||
- Créez un array avec 4 images. Affichez l'image suivant quand on appuie sur le buton B et l'image précédent quand on appuie sur le buton A. | - Créez un array avec 4 images. Affichez l'image suivant quand on appuie sur le buton B et l'image précédent quand on appuie sur le buton A. | ||
+ | |||
+ | ===== Solutions ===== | ||
+ | Vous pouvez trouver les solutions [[https://github.com/UPB-FILS-SdE2/Solutions/tree/microbit|ici]]. | ||