working-est copy with class-based code. still open loop

Dependencies:   mbed

Fork of analoghalls6 by N K

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