Only imu output

Dependencies:   Servo mbed

Fork of FYDP_Final2 by Mark Vandermeulen

drivers/HC05/HC05.cpp

Committer:
tntmarket
Date:
2015-03-25
Revision:
5:d2e955a94940
Parent:
0:21019d94ad33

File content as of revision 5:d2e955a94940:

#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;
//}