Skip to content

Commit cf98c79

Browse files
committed
Review pins numbering and signals pins numbering
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent ecd257a commit cf98c79

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

variants/NUCLEO_F411RE/variant.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ HardwareSerial Serial(PA3, PA2); //Connected to ST-Link
103103
HardwareSerial Serial1(PA10, PA9);
104104
#endif
105105
#ifdef ENABLE_SERIAL2
106-
HardwareSerial Serial2(PA1, PA0);
106+
HardwareSerial Serial2(PC7, PC6);
107107
#endif
108108

109109
void serialEvent() __attribute__((weak));

variants/NUCLEO_F411RE/variant.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,16 @@ enum {
104104
#define DEBUG_UART ((USART_TypeDef *) USART2)
105105

106106
// UART Emulation
107-
#define UART_EMUL_RX PC1
108-
#define UART_EMUL_TX PC3
107+
//#define UART_EMUL_RX PC1
108+
//#define UART_EMUL_TX PC3
109109

110110
// Serial Pin Firmata
111111
#define PIN_SERIAL_RX 0
112112
#define PIN_SERIAL_TX 1
113113
#define PIN_SERIAL1_RX 2
114114
#define PIN_SERIAL1_TX 8
115-
#define PIN_SERIAL2_RX 47
116-
#define PIN_SERIAL2_TX 46
115+
#define PIN_SERIAL2_RX 9
116+
#define PIN_SERIAL2_TX 34
117117

118118
#ifdef __cplusplus
119119
} // extern "C"

0 commit comments

Comments
 (0)