Code for our FYDP -only one IMU works right now -RTOS is working
drivers/HC05/HC05.h
- Committer:
- majik
- Date:
- 2015-03-18
- Revision:
- 0:964eb6a2ef00
File content as of revision 0:964eb6a2ef00:
#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