Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 7:315630fad89f
- Parent:
- 6:edb27e228558
- Child:
- 8:cfcf73c16fab
--- a/main.cpp Fri Oct 12 09:16:23 2018 +0000
+++ b/main.cpp Mon Apr 15 15:25:12 2019 +0000
@@ -49,23 +49,13 @@
int main()
{
-init(); // initialisations importantes
- charr(5,5,'y');
-
-
-while( Zin > 0) //
- {
- Taffi(); // on met T vers les LEDs
- Zin = Zin-1;
- } // etape de 2 secondes
- Tr2(); // efface
- clown();
+init(); // initialisations importantes
-while(1) // boucle principal
+while(1) // boucle principale
{ // permanence
- accel(); // mesure sur capteur accéleration x et y
- draw();
- Taffi(); // on met T vers les LEDs
-
+ accel(); // mesures sur le capteur accéleration en x et y
+ Tr2(); // clear screen
+ draw(); // ...... lien vers la création de vos dessins
+ Taffi(); // ...... affichage de vos dessins
}
}