Only imu output

Dependencies:   Servo mbed

Fork of FYDP_Final2 by Mark Vandermeulen

Revision:
0:21019d94ad33
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/drivers/HC05/HC05.cpp	Sat Mar 21 21:31:29 2015 +0000
@@ -0,0 +1,15 @@
+#include "HC05.h"
+
+HC05::HC05(PinName tx_pin, PinName rx_pin, PinName en_pin):
+    MODSERIAL(tx_pin, rx_pin),
+    on_switch(en_pin)
+{
+    //wait_ms(5000);  //mark
+    on_switch = 0;
+}
+void HC05::start(){
+    on_switch = 1;
+}
+//void HCO5::stop(){
+//    on_switch = 0;
+//}
\ No newline at end of file