N K
/
analoghalls6
motor spins
Fork of analoghalls5 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