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: System/Process/Process.cpp
- Revision:
- 34:cef6c124a52d
- Parent:
- 33:656aa14904a5
- Child:
- 35:94f026ab4d30
--- a/System/Process/Process.cpp Sat Sep 21 13:14:12 2019 +0000
+++ b/System/Process/Process.cpp Sun Sep 22 00:53:45 2019 +0000
@@ -2140,29 +2140,29 @@
mtc=false;
break;
case 255:
- motor[TIRE_BL].pwm += 5;
+ motor[TIRE_FL].pwm += 5;
mtc=false;
break;
case 253:
- motor[TIRE_BL].pwm += 10;
+ motor[TIRE_FL].pwm += 10;
mtc=false;
break;
case 254:
- motor[TIRE_BL].pwm += 20;
- motor[TIRE_BR].pwm = 0;
+ motor[TIRE_FL].pwm += 20;
+ motor[TIRE_FR].pwm = 0;
mtc=false;
break;
case 1:
- motor[TIRE_BR].pwm += 5;
+ motor[TIRE_FR].pwm += 5;
mtc=false;
break;
case 3:
- motor[TIRE_BR].pwm += 10;
+ motor[TIRE_FR].pwm += 10;
mtc=false;
break;
case 2:
- motor[TIRE_BR].pwm += 20;
- motor[TIRE_BL].pwm = 0;
+ motor[TIRE_FR].pwm += 20;
+ motor[TIRE_FL].pwm = 0;
mtc=false;
break;
}
@@ -2458,29 +2458,29 @@
mtc=false;
break;
case 255:
- motor[TIRE_FR].pwm += 5;
+ motor[TIRE_BR].pwm += 5;
mtc=false;
break;
case 253:
- motor[TIRE_FR].pwm += 10;
+ motor[TIRE_BR].pwm += 10;
mtc=false;
break;
case 254:
- motor[TIRE_FR].pwm += 20;
- motor[TIRE_FL].pwm = 0;
+ motor[TIRE_BR].pwm += 20;
+ motor[TIRE_BL].pwm = 0;
mtc=false;
break;
case 1:
- motor[TIRE_FL].pwm += 5;
+ motor[TIRE_BL].pwm += 5;
mtc=false;
break;
case 3:
- motor[TIRE_FL].pwm += 10;
+ motor[TIRE_BL].pwm += 10;
mtc=false;
break;
case 2:
- motor[TIRE_FL].pwm += 20;
- motor[TIRE_FR].pwm = 0;
+ motor[TIRE_BL].pwm += 20;
+ motor[TIRE_BR].pwm = 0;
mtc=false;
break;
}
@@ -2772,29 +2772,29 @@
mtc=false;
break;
case 255:
- motor[TIRE_FR].pwm += 5;
+ motor[TIRE_BR].pwm += 5;
mtc=false;
break;
case 253:
- motor[TIRE_FR].pwm += 10;
+ motor[TIRE_BR].pwm += 10;
mtc=false;
break;
case 254:
- motor[TIRE_FR].pwm += 20;
- motor[TIRE_FL].pwm = 0;
+ motor[TIRE_BR].pwm += 20;
+ motor[TIRE_BL].pwm = 0;
mtc=false;
break;
case 1:
- motor[TIRE_FL].pwm += 5;
+ motor[TIRE_BL].pwm += 5;
mtc=false;
break;
case 3:
- motor[TIRE_FL].pwm += 10;
+ motor[TIRE_BL].pwm += 10;
mtc=false;
break;
case 2:
- motor[TIRE_FL].pwm += 20;
- motor[TIRE_FR].pwm = 0;
+ motor[TIRE_BL].pwm += 20;
+ motor[TIRE_BR].pwm = 0;
mtc=false;
break;
}