I am currently working on my own expansion deck, where I would like to use both UART1 and UART2 on the CrazyFlie 2.0.
I noticed in the code in the current master, that the driver for UART1 (uart1.c) contains functions for both TX and RX ( uart1GetDataWithTimout(), uart1SendData(), uart1Putchar(), uart1Getchar()). However, UART2 (uart2.c) only contains functions for TX, so only to transmit data (only uart2SendData(), uart2Putchar()).
For my ends, I would like to use the RX on both uart1 and uart2. Would this still be possible with duplicating the RX functions of UART1 or is the RX for UART2 purposed for something else?
Thanks in advance.
Post here to get support
1 post • Page 1 of 1