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 TrapezoidControl QEI
Diff: Input/Switch/Switch.cpp
- Revision:
- 19:96a462583af9
- Parent:
- 16:3f2c2d89372b
- Child:
- 31:45f97698857b
--- a/Input/Switch/Switch.cpp Mon Jul 08 01:55:34 2019 +0000
+++ b/Input/Switch/Switch.cpp Tue Jul 16 06:48:51 2019 +0000
@@ -58,40 +58,40 @@
ch.all = 11;
break;
case 4:
- ch.all = 12;
+ ch.all = 6;
break;
case 5:
- ch.all = 13;
+ ch.all = 4;
break;
case 6:
- ch.all = 14;
+ ch.all = 2;
break;
case 7:
- ch.all = 15;
+ ch.all = 0;
break;
case 8:
ch.all = 7;
break;
case 9:
- ch.all = 6;
+ ch.all = 5;
break;
case 10:
- ch.all = 4;
+ ch.all = 3;
break;
case 11:
- ch.all = 5;
+ ch.all = 1;
break;
case 12:
- ch.all = 2;
+ ch.all = 12;
break;
case 13:
- ch.all = 3;
+ ch.all = 13;
break;
case 14:
- ch.all = 0;
+ ch.all = 14;
break;
case 15:
- ch.all = 1;
+ ch.all = 15;
break;
}