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: Output/Motor/Motor.h
- Revision:
- 3:a9ab1a251456
- Parent:
- 1:e73cf2469f83
- Child:
- 4:42ba5ccc4a2a
--- a/Output/Motor/Motor.h Tue Jan 16 08:49:14 2018 +0000
+++ b/Output/Motor/Motor.h Mon Jan 22 09:29:57 2018 +0000
@@ -24,21 +24,21 @@
#define MOTOR4_D2 directions[9]
#define MOTOR0_D1_PIN D3
- #define MOTOR0_D2_PIN D2
+ #define MOTOR0_D2_PIN D4
#define MOTOR1_D1_PIN D6
- #define MOTOR1_D2_PIN D5
- #define MOTOR2_D1_PIN D9
- #define MOTOR2_D2_PIN D8
+ #define MOTOR1_D2_PIN D7
+ #define MOTOR2_D1_PIN D8
+ #define MOTOR2_D2_PIN D9
#define MOTOR3_D1_PIN D12
- #define MOTOR3_D2_PIN D11
- #define MOTOR4_D1_PIN A0
- #define MOTOR4_D2_PIN A1
+ #define MOTOR3_D2_PIN A3
+ #define MOTOR4_D1_PIN A1
+ #define MOTOR4_D2_PIN A0
- #define MOTOR0_PWM_PIN D4
- #define MOTOR1_PWM_PIN D7
+ #define MOTOR0_PWM_PIN D2
+ #define MOTOR1_PWM_PIN D5
#define MOTOR2_PWM_PIN D10
- #define MOTOR3_PWM_PIN A2
- #define MOTOR4_PWM_PIN A3
+ #define MOTOR3_PWM_PIN D11
+ #define MOTOR4_PWM_PIN A2
typedef struct
{