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:
- 28:c7e8d2db03f5
- Parent:
- 27:688409727452
- Child:
- 29:1132155bc7da
--- a/main.cpp Fri Mar 14 02:13:10 2014 +0000 +++ b/main.cpp Fri Mar 21 00:48:29 2014 +0000 @@ -262,7 +262,8 @@ // poll the compass ( currently gives bad values ) case 'Q': - DBGPRINT("Compass vector = %d\t%d\t%d\r\n",bot.gyro.xmag,bot.gyro.ymag,bot.gyro.zmag); + //bot.gyro.checkCompass(); + DBGPRINT("Compass vector = %d\t%d\t%d\t%f\r\n",bot.gyro.xmag,bot.gyro.ymag,bot.gyro.zmag,bot.gyro.compDir*180.0/3.14159); break; // brake if we get an unknown command