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: src/motor.cpp
- Revision:
- 50:510ce69c2a10
- Parent:
- 49:3aaa790800ad
- Child:
- 53:978b7fa74080
--- a/src/motor.cpp Sun Dec 01 23:43:58 2013 +0000
+++ b/src/motor.cpp Sun Dec 01 23:56:18 2013 +0000
@@ -22,6 +22,7 @@
void Motor::calibAngle(float ang){
encoder.calibPulse((int)ang*1200/6.283);
+ dAngle=ang;
}
void Motor::stop(){
