Code for our FYDP -only one IMU works right now -RTOS is working

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers HC05.h Source File

HC05.h

00001 #ifndef HC05_H
00002 #define HC05_H
00003 
00004 #include "mbed.h"
00005 #include "rtos.h"
00006 #include "MODSERIAL.h"
00007 
00008 class HC05 : public MODSERIAL, public Mutex
00009 {
00010 private:
00011 public:
00012     HC05(PinName tx_pin, PinName rx_pin, PinName en_pin);
00013     void start();
00014     void stop();
00015     DigitalOut on_switch;    
00016 };
00017 
00018 #endif