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.
Dependencies: mbed APDS_9960 mbed-rtos
Diff: src/cCarre.cpp
- Revision:
- 3:493dd1cf30a4
- Parent:
- 2:b3f4a37a2687
- Child:
- 7:4b283e36b147
diff -r b3f4a37a2687 -r 493dd1cf30a4 src/cCarre.cpp
--- a/src/cCarre.cpp	Wed Mar 30 09:08:37 2016 +0000
+++ b/src/cCarre.cpp	Wed Mar 30 10:22:07 2016 +0000
@@ -9,6 +9,8 @@
     _positionY = 0;
     _orientation = 1;
     // Positionnement des leds
+    //   |0|1|
+    //   |2|3|
     _Leds[0].setPositionX(_positionX);      // Led coin haut gauche
     _Leds[0].setPositionY(_positionY);     // Led coin haut gauche
     _Leds[1].setPositionX(_positionX + 1);  // Led coin haut droite
@@ -27,6 +29,8 @@
     _positionY = y;
     _orientation = 1;
     // Positionnement des leds
+    //   |0|1|
+    //   |2|3|
     _Leds[0].setPositionX(_positionX);      // Led coin haut gauche
     _Leds[0].setPositionY(_positionY);     // Led coin haut gauche
     _Leds[1].setPositionX(_positionX + 1);  // Led coin haut droite
@@ -37,7 +41,5 @@
     _Leds[3].setPositionY(_positionY + 1);  // led coin bas droite
 }
 
-void cCarre::afficherForme(){
 
-}