Search found 2 matches
- Mon Jan 15, 2024 5:45 pm
- Forum: General Discussion
- Topic: How to read data from UART
- Replies: 3
- Views: 25362
Re: How to read data from UART
1. free(data); - you can't do that. I will remove it then and test asap (probably weekend). 2. Are you getting any errors returned when (re-)initializing the UART? Nope, all the errors are while it's activated and tries to do something. 3. You're not synchronizing your reads to the data 'packets' t...
- Sun Jan 14, 2024 5:00 pm
- Forum: General Discussion
- Topic: How to read data from UART
- Replies: 3
- Views: 25362
How to read data from UART
Hello everybody, I'm having a lot of trouble with reading data from a sensor which connects with UART. I've read the documentation and examples, and it works sometimes, but it crashes a lot and sometimes it doesn't gives any data (more often than not). I'm using a esp32-c6-devkitm-1, and the sensor ...