Other Parts Discussed in Thread: SYSCONFIG
Hello Members,
I am new to CCS and TI MCUs. I am suing cc2340R5 mcu and want to send a float value via uart to serial monitor.
float w = 1234.5678; char str[50]; sprintf(str,"a: %f\r\n", w); UART_write(uart,str, sizeof(str),NULL);
Note that i tried %0.2f - %f - %0.4f - %4.4f etc but no success. Also note that itried to write the static dat through uart and it is showing properly. So its not an uart config issue. Can any one guide for this??
I am using Code Composer Studio for programing. Also I am trying to modify the uart2callback example code for testing purpose.