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

Dependencies:   mbed

Fork of analoghalls6 by N K

Revision:
4:fdadf4a3577a
Parent:
3:0a2396597e0d
Child:
9:d3b70c15baa9
--- a/meta.h	Mon Mar 02 01:24:37 2015 +0000
+++ b/meta.h	Mon Mar 02 11:17:15 2015 +0000
@@ -53,6 +53,8 @@
     void Start();
 private:
     static void time_upd_isr();
+    static float LutSin(float theta);
+    static float LutCos(float theta);
 private:
     Inverter *_inverter;
     Motor *_motor;
@@ -89,6 +91,7 @@
     Ticker _upd_ticker;
     float _max_phase_current;
     int _update_frequency;
+    static int _blinky_toggle;
 };
 
 #endif