Hi, i am working with RAK 4270.
I want to print a float number with the function rui_uart_send.
Is this way correct?
float humedad = 4400;
humedad = (-6.0f + 0.0019073486328125f * humedad);
rui_uart_send(RUI_UART2, &humedad, strlen(humedad));
Because when i did that way, the result that shows in the serial port is incorrect.
RUI_LOG_PRINTF will only work on UART_1. If you really need UART2, probably scale your payload by multiplying it to x10 or x100. Then do the post-processing somewhere to retrieve its original form.