Mini Cheetah Actuator Branch Superseded by: https://github.com/bgkatz/motorcontrol

Dependencies:   mbed-dev-f303 FastPWM3

Superseded by: https://github.com/bgkatz/motorcontrol

Revision:
37:c0f352d6e8e3
Parent:
27:501fee691e0e
Child:
47:e1196a851f76
--- a/Config/hw_config.h	Fri Mar 02 15:24:00 2018 +0000
+++ b/Config/hw_config.h	Fri Apr 13 13:50:54 2018 +0000
@@ -5,10 +5,13 @@
 #define PIN_V PA_9
 #define PIN_W PA_8
 #define ENABLE_PIN PA_11        // Enable gate drive pin
+#define LED         PC_5        // LED Pin
 #define I_SCALE 0.02014160156f  // Amps per A/D Count
+#define V_SCALE 0.00884f        // Bus volts per A/D Count
 #define DTC_MAX 0.95f          // Max phase duty cycle
 #define DTC_MIN 0.05f          // Min phase duty cycle
 #define PWM_ARR 0x8CA           /// timer autoreload value
 
 
+
 #endif