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.
Dependents: RoboClaw TestMyPathFind Robot2016_2-0_STATIC Stressed ... more
Revision 6:ece8a8cdf4b0, committed 2016-02-06
- Comitter:
- IceTeam
- Date:
- Sat Feb 06 11:55:10 2016 +0000
- Parent:
- 5:ad00b3431ff5
- Child:
- 7:af0e3da221a9
- Child:
- 9:0fc5514faed9
- Commit message:
- Ca marche en commande bt
Changed in this revision
| RoboClaw.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/RoboClaw.cpp Sat Feb 06 10:11:15 2016 +0000
+++ b/RoboClaw.cpp Sat Feb 06 11:55:10 2016 +0000
@@ -218,7 +218,7 @@
}
void RoboClaw::SpeedAccelM1M2(uint8_t address, int32_t accel1, int32_t speed1, int32_t accel2, int32_t speed2){
- write_n(12,address,M2SPEEDACCEL,SetDWORDval(accel1),SetDWORDval(speed1),SetDWORDval(accel2),SetDWORDval(speed2));
+ write_n(10,address,M2SPEEDACCEL,SetDWORDval(accel1),SetDWORDval(speed1),SetDWORDval(accel2),SetDWORDval(speed2));
}
void RoboClaw::SpeedDistanceM1(uint8_t address, int32_t speed, uint32_t distance, uint8_t buffer){