Only imu output

Dependencies:   Servo mbed

Fork of FYDP_Final2 by Mark Vandermeulen

Committer:
tntmarket
Date:
Wed Mar 25 09:58:50 2015 +0000
Revision:
5:d2e955a94940
Parent:
0:21019d94ad33
only imu output

Who changed what in which revision?

UserRevisionLine numberNew contents of line
majik 0:21019d94ad33 1 #include "HC05.h"
majik 0:21019d94ad33 2
majik 0:21019d94ad33 3 HC05::HC05(PinName tx_pin, PinName rx_pin, PinName en_pin):
majik 0:21019d94ad33 4 MODSERIAL(tx_pin, rx_pin),
majik 0:21019d94ad33 5 on_switch(en_pin)
majik 0:21019d94ad33 6 {
majik 0:21019d94ad33 7 //wait_ms(5000); //mark
majik 0:21019d94ad33 8 on_switch = 0;
majik 0:21019d94ad33 9 }
majik 0:21019d94ad33 10 void HC05::start(){
majik 0:21019d94ad33 11 on_switch = 1;
majik 0:21019d94ad33 12 }
majik 0:21019d94ad33 13 //void HCO5::stop(){
majik 0:21019d94ad33 14 // on_switch = 0;
majik 0:21019d94ad33 15 //}