stock mbed AnalogReads current loop closed and working

Dependencies:   mbed

Fork of priustroller_2 by N K

Revision:
56:85a26f839af2
Parent:
54:e8d9bc885723
--- a/core/inverter.cpp	Thu May 21 02:19:25 2015 +0000
+++ b/core/inverter.cpp	Sun Jan 31 06:44:58 2016 +0000
@@ -9,9 +9,9 @@
     _pwm_a = new PwmOut(ph_a);
     _pwm_b = new PwmOut(ph_b);
     _pwm_c = new PwmOut(ph_c);
-    _pwm_a->period_us(200);
-    _pwm_b->period_us(200);
-    _pwm_c->period_us(200);
+    _pwm_a->period_us(100);
+    _pwm_b->period_us(100);
+    _pwm_c->period_us(100);
     
     _sense_bus = sense_bus;
     _sense_t = sense_t;