A class for using MU2.
Dependents: EM_Mission FM_integration_copy FM_integration_off FM_integration
Diff: MU2Class.h
- Revision:
- 0:6c7ba361f738
- Child:
- 1:c60752b4acb9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MU2Class.h Tue Jul 02 13:13:48 2013 +0000 @@ -0,0 +1,17 @@ +#ifndef MU2_CLASS +#define MU2_CLASS + +#include "mbed.h" + +class MU2Class{ +public: + MU2Class(PinName tx,PinName rx); //define pins for communication from CanSat + void send(const char Send_Message[]); //a method for sending data from CanSat to PC + +private: + uint8_t Store_Str(char data_str[], int index, char Message[]); + PinName _tx; //tx pin name which connected to mbed + PinName _rx; //rx pin name which connected to mbed +}; + +#endif \ No newline at end of file