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/cEl.cpp
- Revision:
- 32:029962133529
- Parent:
- 31:7313366789f2
- Child:
- 33:a6f0be429ce0
--- a/src/cEl.cpp Thu Apr 21 13:25:08 2016 +0000
+++ b/src/cEl.cpp Fri Apr 22 06:29:56 2016 +0000
@@ -12,13 +12,13 @@
// |1|2|3|
// |0|
_Leds[0].setPositionX(_positionX - 1);
- _Leds[0].setPositionY(_positionY);
+ _Leds[0].setPositionY(_positionY + 1);
_Leds[1].setPositionX(_positionX - 1);
- _Leds[1].setPositionY(_positionY - 1);
+ _Leds[1].setPositionY(_positionY);
_Leds[2].setPositionX(_positionX);
- _Leds[2].setPositionY(_positionY - 1);
+ _Leds[2].setPositionY(_positionY);
_Leds[3].setPositionX(_positionX + 1);
- _Leds[3].setPositionY(_positionY - 1);
+ _Leds[3].setPositionY(_positionY);
for(int i = 0; i<4; i++) {
_Leds[i].setOldPositionX(_Leds[i].getPositionX());
}