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: Master.cpp
- Revision:
- 41:65de628f701f
- Parent:
- 38:922f2584bdfd
- Child:
- 42:2b887cb6a98a
--- a/Master.cpp Tue Nov 26 04:42:39 2013 +0000 +++ b/Master.cpp Tue Nov 26 19:29:34 2013 +0000 @@ -30,13 +30,16 @@ wait(.25); }*/ - m1.setPos(0.0); - m1.start(); - //t.attach(&m1, &Motor::Control, .0005); - wait(5); - m1.setPos(3.1415/6); + kankan.start(); + wait(1); + m1.setPos(-3.1415/6); + m2.setPos(3.1415/6); + //m1.setTorque(2); + + //kankan.setPoint(Point(0,0)); wait(5); m1.stop(); + m2.stop(); /*Forward=1; Backward=0;