Publishing for Biomimetics.
Fork of mbed-rpc by
Diff: parse_pins.cpp
- Revision:
- 13:a6fe8e713f64
- Parent:
- 12:3b049dde55d7
- Child:
- 15:f387e5f731fa
--- a/parse_pins.cpp Tue Mar 08 09:15:16 2016 +0000 +++ b/parse_pins.cpp Tue Mar 29 09:30:23 2016 +0100 @@ -59,7 +59,7 @@ } return port_pin((PortName)port, pin); -#elif defined(TARGET_NUCLEO_F072RB) || defined(TARGET_NUCLEO_F411RE) +#elif defined(TARGET_NUCLEO_F072RB) || defined(TARGET_NUCLEO_F303K8) || defined(TARGET_NUCLEO_F411RE) if (str[0] == 'P') { // PX_XX e.g.PA_2 PC_15 uint32_t port = str[1] - 'A'; uint32_t pin = str[3] - '0';