Fork of serial_connected_mcu by tarou yamada

Revision:
5:4f51af2919d5
Parent:
4:1323ef48a984
--- a/serial_connected_mcu_slave.hpp	Sun Jul 10 07:10:24 2016 +0000
+++ b/serial_connected_mcu_slave.hpp	Sun Jul 10 07:24:41 2016 +0000
@@ -1,12 +1,12 @@
 #ifndef SERIAL_CONNECTED_MCU_SLAVE_
 #define SERIAL_CONNECTED_MCU_SLAVE_
- 
+
 #include "mbed.h"
 #include <stdint.h>
 #include <string>
 #include <stdlib.h>
 #include <sstream>
- 
+
 namespace serial_connected_mcu{
     enum read_id {
        ESC1,
@@ -24,7 +24,7 @@
         POTENTIONMETER3,
         SIZE_OF_WRITE_DATA
     };
- 
+
     class serial_connected_mcu_slave{
     public:
         serial_connected_mcu_slave();
@@ -32,8 +32,8 @@
         void set(int index_of_data, int16_t setting_data);
         int16_t get(int index_of_data);
     private:
-        static const PinName PIN_SERIAL_TX = SERIAL_TX;
-        static const PinName PIN_SERIAL_RX = SERIAL_RX;
+        static const PinName PIN_SERIAL_TX;
+        static const PinName PIN_SERIAL_RX;
         static const int BAUDRATE = 9600;
         int16_t* array_of_read_data;
         int16_t* array_of_write_data;
@@ -45,4 +45,4 @@
     };
 }
 
-#endif
+#endif
\ No newline at end of file