Whit tou use uint8_t buffer to receive uart data?
Posted: Thu Nov 05, 2020 1:04 pm
So, this is problably a dummy C question but I'm gonna ask here anyway.
In the function
Why not to use a char* buffer to hold incoming data?
Thanks in advance!
--
Gabriel Gardin
In the function
Code: Select all
int uart_read_bytes(uart_port_t uart_num, uint8_t* buf, uint32_t length, TickType_t ticks_to_wait)
Thanks in advance!
--
Gabriel Gardin