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: main.cpp
- Revision:
- 6:561d8ab80424
- Parent:
- 5:efd3838b79a6
--- a/main.cpp Sun Mar 27 03:40:52 2016 +0000 +++ b/main.cpp Sun Mar 27 18:48:51 2016 +0000 @@ -99,8 +99,8 @@ if (vq < -1.0f) vq = -1.0f; if (vq > 1.0f) vq = 1.0f; - //vd = 0.0f; - //vq = 1.0f; + vd = 0.0f; + vq = -1.0f; //DAC->DHR12R2 = (unsigned int) (-q * 20 + 2048); //DAC->DHR12R2 = (unsigned int) (-vd * 2000 + 2048);