potato

Dependencies:   mbed

Fork of analoghalls by N K

Revision:
0:9753f3c2e5ca
Child:
1:70eed554399b
diff -r 000000000000 -r 9753f3c2e5ca shared.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/shared.h	Mon Feb 16 20:16:01 2015 +0000
@@ -0,0 +1,14 @@
+#ifndef __SHARED_H
+#define __SHARED_H
+
+#include "constants.h"
+#include "mbed.h"
+
+extern PwmOut pha, phb, phc;
+extern DigitalOut en, debug;
+extern DigitalIn halla, hallb, hallc;
+extern AnalogIn throttle, analoga, analogb;
+extern Motor* motor;
+extern Ticker dtc_upd_ticker;
+extern InterruptIn haI, hbI, hcI;
+#endif
\ No newline at end of file