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: PinDefinedSetting.h
- Revision:
- 17:726b6f53a457
- Parent:
- 11:565fca1ead5b
- Child:
- 23:26f9483439fe
--- a/PinDefinedSetting.h Tue Nov 03 04:33:08 2015 +0000 +++ b/PinDefinedSetting.h Thu Nov 05 07:43:37 2015 +0000 @@ -14,8 +14,8 @@ /****The pin is to conect to encoder which sense migration length****/ #ifdef BLUE -#define ENCOD_MOVE_R_A p5 -#define ENCOD_MOVE_R_B p6 +#define ENCOD_MOVE_R_A p6 +#define ENCOD_MOVE_R_B p5 #else #define ENCOD_MOVE_R_A p8 #define ENCOD_MOVE_R_B p7 @@ -27,8 +27,8 @@ #define ENCOD_MOVE_L_A p7 #define ENCOD_MOVE_L_B p8 #else -#define ENCOD_MOVE_L_A p6 -#define ENCOD_MOVE_L_B p5 +#define ENCOD_MOVE_L_A p5 +#define ENCOD_MOVE_L_B p6 #endif QEI Move_l_sense(ENCOD_MOVE_L_A, ENCOD_MOVE_L_B, NC, 400, QEI::X4_ENCODING);