file:
#define ECHO_TEST_TXD (16)
#define ECHO_TEST_RXD (17)
#define ECHO_TEST_RTS (2)
#define ECHO_TEST_CTS (15)
uart_set_pin(uart_num, ECHO_TEST_TXD, ECHO_TEST_RXD, ECHO_TEST_RTS, ECHO_TEST_CTS);
question:
if here have set ECHO_TEST_RTS, ECHO_TEST_CTS,
can we re define these two pins: ECHO_TEST_RTS, ECHO_TEST_CTS as other GPIO
how to set CTS RTS no connect
-
- Posts: 30
- Joined: Thu Dec 10, 2015 5:27 am
Re: how to set CTS RTS no connect
Try to use UART_PIN_NO_CHANGE.
By the way, in uart_set_pin, the driver use gpio_matrix to connect pins.
By the way, in uart_set_pin, the driver use gpio_matrix to connect pins.
Who is online
Users browsing this forum: audris, Baidu [Spider] and 84 guests