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: Board/Board.cpp
- Revision:
- 1:7a4efebd6e44
- Parent:
- 0:6ad60d78b315
- Child:
- 2:e6a185df9e4c
diff -r 6ad60d78b315 -r 7a4efebd6e44 Board/Board.cpp
--- a/Board/Board.cpp	Sat Sep 14 17:38:41 2013 +0000
+++ b/Board/Board.cpp	Sat Sep 14 22:34:00 2013 +0000
@@ -110,22 +110,22 @@
     switch(ledNum)
         {
           case 1:
-              ind1 = 0;
+              ind1 = !ind1;
             break;
           case 2:
-              ind2 = 0;
+              ind2 = !ind2;
             break;
           case 3:
-              ind3 = 0;
+              ind3 = !ind3;
             break;
           case 4:
-              ind4 = 0;
+              ind4 = !ind4;
             break;
           case 5:
-              ind1 = 0;
+              ind1 = !ind1;
             break;
           case 6:
-              ind4 = 0;
+              ind4 = !ind4;
             break;
           case 7: