Qiayuan Liao / Hobbyking_Cheetah_Compact_DRV8323_14bit

Dependencies:   mbed-dev-f303 FastPWM3

Revision:
10:370851e6e132
Parent:
9:d7eb815cb057
Child:
14:80ce59119d93
--- a/Inverter/Inverter.cpp	Tue May 10 01:15:57 2016 +0000
+++ b/Inverter/Inverter.cpp	Thu May 12 05:02:52 2016 +0000
@@ -58,6 +58,8 @@
      DAC->CR |= 0x00000001; // DAC control reg, both channels ON
      GPIOA->MODER |= 0x00000300; // PA04 as analog output   
      
+     
+     //Enabled pin must be on for current sensors to turn on
      EnableInverter();
      SetDTC(0.0f, 0.0f, 0.0f);
      wait(.2);