Modified Motor Driver Firmware to include Flash + Thermal

Dependencies:   FastPWM3 mbed-dev-STM-lean

Revision:
4:c023f7b6f462
Parent:
3:6a0015d88d06
Child:
6:4ee1cdc43aa8
diff -r 6a0015d88d06 -r c023f7b6f462 main.cpp
--- a/main.cpp	Wed Mar 09 04:00:48 2016 +0000
+++ b/main.cpp	Sat Mar 12 08:04:51 2016 +0000
@@ -14,10 +14,15 @@
 Ticker  testing;
 
 
+
+//SPI spi(PB_15, PB_14, PB_13);
+//GPIOB->MODER = (1 << 8); // set pin 4 to be general purpose output
+
+//DigitalOut chipselect(PB_12);
+
 using namespace FastMath;
 using namespace Transforms;
 
-//float offset = 0;//-0.24;
 
 // Current Sampling IRQ
 /*
@@ -60,7 +65,6 @@
        
 int main() {
     wait(1);
-
     testing.attach(&Loop, .0001);
     //testing.attach(&PrintStuff, .05);
     //inverter.SetDTC(.1, 0, 0);