nucleo側のプログラム

Dependents:   serial_connected_mcu_nucleo serial_connected_mcu_nucleo

Fork of serial_connected_mcu by tarou yamada

Revision:
7:f8dd6ab9ce94
Parent:
4:1323ef48a984
Child:
11:6f8e34a71c7e
--- a/serial_connected_mcu_slave.hpp	Sun Jul 10 07:38:13 2016 +0000
+++ b/serial_connected_mcu_slave.hpp	Sun Jul 10 07:40:44 2016 +0000
@@ -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;