Trying to understand uart_driver_install()
Posted: Mon Oct 21, 2019 2:57 am
I'm used to Arduino serial port and its simplicity but I'm ready to learn the uart driver in esp32.
I'm reading the uart_echo sample code. It is fairly simple but I wonder where I can find explanation of the function uart_driver_install(). I don't understand how to use it except for how it is used in the sample. I want to be able to uninstall uart, use new TX and RX pins and install driver on those new pins. I need to know the right way to do it. I guess I could find the definition of the function but if someone knows where to find it, it would be great.
Again, great platform to be learning. I like the xTask thing although I don't know where to find the reference to xTaskCreate().
Thank you!
I'm reading the uart_echo sample code. It is fairly simple but I wonder where I can find explanation of the function uart_driver_install(). I don't understand how to use it except for how it is used in the sample. I want to be able to uninstall uart, use new TX and RX pins and install driver on those new pins. I need to know the right way to do it. I guess I could find the definition of the function but if someone knows where to find it, it would be great.
Again, great platform to be learning. I like the xTask thing although I don't know where to find the reference to xTaskCreate().
Thank you!