nucleo側のプログラム
Dependents: serial_connected_mcu_nucleo serial_connected_mcu_nucleo
Fork of serial_connected_mcu by
Diff: serial_connected_mcu_slave.hpp
- Revision:
- 5:77d6f1ddf2e4
- Parent:
- 4:1323ef48a984
- Child:
- 11:6f8e34a71c7e
diff -r 1323ef48a984 -r 77d6f1ddf2e4 serial_connected_mcu_slave.hpp --- a/serial_connected_mcu_slave.hpp Sun Jul 10 07:10:24 2016 +0000 +++ b/serial_connected_mcu_slave.hpp Sun Jul 10 07:37:00 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;