Skip to content

Commit

Permalink
Add SERIAL_PORT_2 configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ciotto committed Jan 21, 2024
1 parent 0c93ff7 commit 1353098
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions TFT/src/User/Variants/pin_MKS_GD_TFT28_V4_0.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
// SERIAL_PORT_X: communicating with other controllers (OctoPrint, ESP3D, other UART Touch Screen etc...)
#ifndef SERIAL_PORT
#define SERIAL_PORT _USART2 // default USART port
#define SERIAL_PORT_2 _USART1
#define SERIAL_PORT_3 _USART3
#define SERIAL_PORT_2 _USART3
#define SERIAL_PORT_3 _USART1
#define USART2_TX_PIN PD5
#define USART2_RX_PIN PD6
// #define USART3_TX_PIN PD8
// #define USART3_RX_PIN PD9
#define USART3_TX_PIN PD8
#define USART3_RX_PIN PD9
#define SERIAL_PORT_4 _UART4
#endif

Expand Down

0 comments on commit 1353098

Please sign in to comment.