| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente |
| brainpad:mcodguidebp2 [2020/09/04 16:29] – [LightBulb] admin | brainpad:mcodguidebp2 [2025/06/19 19:24] (Version actuelle) – modification externe 127.0.0.1 |
|---|
| | {{ :suivant.png?nolink&30|}} {{ :retour.png?nolink&30|}} [[brainpad:accueilbp2|{{ :iconemaison.jpg?nolink&30|Sommaire BP2}}]] |
| | |
| | ===== Brainpad 2 : Exemples du guide du débutant===== |
| | [Mise à jour le : 4/9/2020] |
| | {{ :brainpad:makecode.png?nolink&50|MakeCode}} {{ :netmf43:brainpadico.png?nolink&100}} |
| | |
| | **Le guide du débutant** [[brainpad:bibliographie|lien]]. |
| | |
| | **Vidéo** de présentation sur <html><a href="https://www.youtube.com/watch?v=FPFo3Rf8VD0" target="_blank">YouTube</a></html> |
| | ==== LightBulb ==== |
| | > Faire clignoter la LED "Light Bulb" de la carte |
| | {{ :brainpad:blink.png?nolink |}} |
| | <note>Le programme **Blink** est **téléchargeable** [[https://webge.fr/doc/wikis/code/GHI/Makecode/BP2/MKD_BP2_BLINK.zip|ici]]</note> |
| | |
| | ==== Haut-parleur ==== |
| | > Jouer une mélodie. |
| | {{ :brainpad:sons4.png?nolink |}} |
| | <note>Le programme **MKD_BP2_Playtone** est **téléchargeable** [[https://webge.fr/doc/wikis/code/GHI/Makecode/BP2/MKD_BP2_Playtone.zip|ici]]</note> |
| | |
| | ==== Boutons-poussoirs ==== |
| | > Jouer des sons avec les boutons-poussoirs |
| | |
| | * **Sans évènements** |
| | {{ :brainpad:son.png?nolink |}} |
| | <note>Le programme **MKD_BP2_btnWithoutEvent** est **téléchargeable** [[https://webge.fr/doc/wikis/code/GHI/Makecode/BP2/MKD_BP2_btnWithoutEventOk.zip|ici]]</note> |
| | |
| | * ** Avec évènements** |
| | * **prog1** |
| | {{ :brainpad:sons2.png?nolink |}} |
| | <note>Le programme **MKD_BP2_buttonEvent** est **téléchargeable** [[https://webge.fr/doc/wikis/code/GHI/Makecode/BP2/MKD_BP2_buttonEvent.zip|ici]]</note> |
| | |
| | * **prog2** |
| | {{ :brainpad:sons3.png?nolink |}} |
| | <note>Le programme **MKD_BP2_HearingTest** est **téléchargeable** [[https://webge.fr/doc/wikis/code/GHI/Makecode/BP2/MKD_BP2_HearingTest.zip|ici]]</note> |
| | |
| | ==== Servomoteur et capteur de température==== |
| | > Afficher la valeur de la température ambiante sous la forme d'une position angulaire. |
| | {{ :brainpad:servothermo.png?nolink |}} |
| | <note>Le programme **MKD_BP2_ServoThermometer** est **téléchargeable** [[https://webge.fr/doc/wikis/code/GHI/Makecode/BP2/MKD_BP2_ServoThermometer.zip|ici]]</note> |
| | |
| | |
| | ==== Afficheur ==== |
| | === Exemple 1 === |
| | > Animer une image sur l'écran. |
| | {{ :brainpad:walkingman.png?nolink |}} |
| | <note>Le programme **MKD_BP2_Walking man** est **téléchargeable** [[https://webge.fr/doc/wikis/code/GHI/Makecode/BP2/MKD_BP2_Walking man.zip|ici]]</note> |
| | |
| |