Only imu output
Fork of FYDP_Final2 by
Diff: drivers/HC05/HC05.h
- Revision:
- 0:21019d94ad33
diff -r 000000000000 -r 21019d94ad33 drivers/HC05/HC05.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/drivers/HC05/HC05.h Sat Mar 21 21:31:29 2015 +0000 @@ -0,0 +1,18 @@ +#ifndef HC05_H +#define HC05_H + +#include "mbed.h" +#include "rtos.h" +#include "MODSERIAL.h" + +class HC05 : public MODSERIAL, public Mutex +{ +private: +public: + HC05(PinName tx_pin, PinName rx_pin, PinName en_pin); + void start(); + void stop(); + DigitalOut on_switch; +}; + +#endif