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:
- 12:5723a4fa5864
- Parent:
- 11:133bd48c1b22
- Child:
- 13:41d102a53caf
--- a/main.cpp Tue May 24 02:35:41 2016 +0000 +++ b/main.cpp Sun Oct 30 01:37:30 2016 +0000 @@ -189,7 +189,7 @@ //DAC->DHR12R2 = (unsigned int) (-vd * 2000 + 2048); //vd = 0.0f; - //vq = -1.0f; + //vq = 1.0f; float valpha = vd * cos_p - vq * sin_p; float vbeta = vd * sin_p + vq * cos_p; @@ -208,5 +208,7 @@ startup_msg(); for (;;) { + //pc.printf("%f\n\r", p); + //wait(0.1); } }