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 priustroller_2 by
Diff: modulators.cpp
- Revision:
- 0:54cf32d35f4d
- Child:
- 1:1f58bdcf2956
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/modulators.cpp Sun Mar 01 06:16:01 2015 +0000
@@ -0,0 +1,8 @@
+#include "includes.h"
+#include "classes.h"
+
+void SinusoidalModulator::Update(float va, float vb) {
+ _inverter->SetDtcA(va);
+ _inverter->SetDtcB(vb);
+ _inverter->SetDtcC(1.0f - va - vb);
+}
\ No newline at end of file
