hi,
i am having difficulty reading values from uart, when is use Serial.read() from arduino ide i am getting the correct values but when i use uart_read_bytes using eclipse it did not give correct values. the source sending the values is same.
ESP32 UART reading problem
Re: ESP32 UART reading problem
Hi,hamibrother wrote: ↑Thu Dec 27, 2018 12:43 pmhi,
i am having difficulty reading values from uart, when is use Serial.read() from arduino ide i am getting the correct values but when i use uart_read_bytes using eclipse it did not give correct values. the source sending the values is same.
Would you please provide few more details with steps you have followed?
Which ESP32 IDF you are using? What are the reproduction scenario? What is return type of uart_read_bytes API? What you have connected with UART module?
Also it will be great to share code snippet as well so that we can give proper direction to resolve that issue with other requested queries.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Who is online
Users browsing this forum: Bing [Bot] and 165 guests