Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: MU2.h
- Revision:
- 0:48505968b10e
- Child:
- 1:dcb1eee964d5
diff -r 000000000000 -r 48505968b10e MU2.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/MU2.h Tue Jul 16 12:05:44 2019 +0000
@@ -0,0 +1,21 @@
+#ifndef MU2_CLASS
+#define MU2_CLASS
+
+#include "mbed.h"
+
+class MU2
+{
+
+private:
+
+ PinName _tx; //tx pin name which connected to mbed
+ PinName _rx; //rx pin name which connected to mbed
+
+public:
+ MU2(PinName tx,PinName rx); //コンストラクタの宣言define pins for communication from CanSat
+ void send(char Message[]); //a method for sending data from CanSat to PC
+ //void send(int Send_Message[]); //overload the send(char)method
+
+};
+
+#endif
\ No newline at end of file