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 #ifndef HC05_H
majik 0:21019d94ad33 2 #define HC05_H
majik 0:21019d94ad33 3
majik 0:21019d94ad33 4 #include "mbed.h"
majik 0:21019d94ad33 5 #include "rtos.h"
majik 0:21019d94ad33 6 #include "MODSERIAL.h"
majik 0:21019d94ad33 7
majik 0:21019d94ad33 8 class HC05 : public MODSERIAL, public Mutex
majik 0:21019d94ad33 9 {
majik 0:21019d94ad33 10 private:
majik 0:21019d94ad33 11 public:
majik 0:21019d94ad33 12 HC05(PinName tx_pin, PinName rx_pin, PinName en_pin);
majik 0:21019d94ad33 13 void start();
majik 0:21019d94ad33 14 void stop();
majik 0:21019d94ad33 15 DigitalOut on_switch;
majik 0:21019d94ad33 16 };
majik 0:21019d94ad33 17
majik 0:21019d94ad33 18 #endif