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:
- 17:e247d58d9f42
- Parent:
- 15:b10859606504
- Child:
- 18:c834bd26869e
--- a/main.cpp Tue Mar 11 20:02:56 2014 +0000 +++ b/main.cpp Tue Mar 11 20:22:18 2014 +0000 @@ -95,7 +95,9 @@ break; case 'd': // turn back to starting rotation //bot.driveForward(0,0); - DBGPRINT("={%f,\t%f,\t%f}\n\r",bot.x,bot.y,bot.rot*180.0/3.14159); + int testdata[]={'H','e','l','l','o'}; + int response=bot.BTLink.sendCmd(0x02,testdata,5); + DBGPRINT("=%d\n\r",response); break; case 'W': // drive forward a small bit //bot.driveForward(targetAngle,1000);