ver1

Dependents:   EM_ver1 template FM_ver3_for_ARLISS FM_ver3_for_test

Committer:
Nerosho
Date:
Tue Jul 16 12:05:44 2019 +0000
Revision:
0:48505968b10e
Child:
1:dcb1eee964d5
ver1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Nerosho 0:48505968b10e 1 #ifndef MU2_CLASS
Nerosho 0:48505968b10e 2 #define MU2_CLASS
Nerosho 0:48505968b10e 3
Nerosho 0:48505968b10e 4 #include "mbed.h"
Nerosho 0:48505968b10e 5
Nerosho 0:48505968b10e 6 class MU2
Nerosho 0:48505968b10e 7 {
Nerosho 0:48505968b10e 8
Nerosho 0:48505968b10e 9 private:
Nerosho 0:48505968b10e 10
Nerosho 0:48505968b10e 11 PinName _tx; //tx pin name which connected to mbed
Nerosho 0:48505968b10e 12 PinName _rx; //rx pin name which connected to mbed
Nerosho 0:48505968b10e 13
Nerosho 0:48505968b10e 14 public:
Nerosho 0:48505968b10e 15 MU2(PinName tx,PinName rx); //コンストラクタの宣言define pins for communication from CanSat
Nerosho 0:48505968b10e 16 void send(char Message[]); //a method for sending data from CanSat to PC
Nerosho 0:48505968b10e 17 //void send(int Send_Message[]); //overload the send(char)method
Nerosho 0:48505968b10e 18
Nerosho 0:48505968b10e 19 };
Nerosho 0:48505968b10e 20
Nerosho 0:48505968b10e 21 #endif