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.
Fork of IEEE_14_Freescale by
Diff: main.cpp
- Revision:
- 43:f7ef0f5f980c
- Parent:
- 42:28d73a7c624e
- Child:
- 44:4b933e7409e7
--- a/main.cpp Mon Mar 31 19:44:10 2014 +0000 +++ b/main.cpp Mon Mar 31 21:54:34 2014 +0000 @@ -216,7 +216,13 @@ //DBGPRINT("pfac = %f\r\n",bot.pfac); break; case 'Y': - s.toPosition(s1pos+=5); + bot.cont.start(); + bot.cont.rampSpeed(40,40); + wait(2); + bot.cont.rampSpeed(0,0); + wait(2); + bot.cont.stop(); + //s.toPosition(s1pos+=5); DBGPRINT("1 pos = %d\r\n",s1pos); break; case 'H':