This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Floating number not printing in Uart console NCS v1.6.1

Hi , I am try to print the float value to console but it doesn't print it . i use ble_nus example code and just add

float tmp = 123.456;
printf("Floating number: %3.2f\n", tmp);
	printk("Starting Nordic UART service example\n");

result is

*** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***

Floating number: %3.2f
Starting Nordic UART service example

Parents Reply Children
No Data
Related